summaryrefslogtreecommitdiffstats
path: root/kmod/cachepc_user.h
blob: a04b184335f04d857bd8c8c54e72a97dc131c051 (plain) (blame)
1
2
3
4
5
6
7
8
#pragma once

#include <linux/ioctl.h>

#define CACHEPC_IOCTL_MAGIC 0xBF
#define CACHEPC_IOCTL_TEST_ACCESS _IOR(CACHEPC_IOCTL_MAGIC, 0, uint32_t)
#define CACHEPC_IOCTL_TEST_EVICTION _IOWR(CACHEPC_IOCTL_MAGIC, 1, uint32_t)
#define CACHEPC_IOCTL_INIT_PMC _IOW(CACHEPC_IOCTL_MAGIC, 2, uint32_t)