- PERF_ATTR_SIZE_VER0
enum PERF_ATTR_SIZE_VER0;
sizeof first published struct
- PERF_ATTR_SIZE_VER1
enum PERF_ATTR_SIZE_VER1;
- PERF_ATTR_SIZE_VER2
enum PERF_ATTR_SIZE_VER2;
- PERF_ATTR_SIZE_VER3
enum PERF_ATTR_SIZE_VER3;
- PERF_ATTR_SIZE_VER4
enum PERF_ATTR_SIZE_VER4;
- PERF_ATTR_SIZE_VER5
enum PERF_ATTR_SIZE_VER5;
- PERF_AUX_FLAG_COLLISION
enum PERF_AUX_FLAG_COLLISION;
sample collided with another
- PERF_AUX_FLAG_OVERWRITE
enum PERF_AUX_FLAG_OVERWRITE;
snapshot from overwrite mode
- PERF_AUX_FLAG_PARTIAL
enum PERF_AUX_FLAG_PARTIAL;
- PERF_AUX_FLAG_TRUNCATED
enum PERF_AUX_FLAG_TRUNCATED;
* PERF_RECORD_AUX::flags bits
*//** record was truncated to fit
- PERF_EVENT_IOC_DISABLE
enum PERF_EVENT_IOC_DISABLE;
- PERF_EVENT_IOC_ENABLE
enum PERF_EVENT_IOC_ENABLE;
Ioctls that can be done on a perf event fd:
- PERF_EVENT_IOC_ID
enum PERF_EVENT_IOC_ID;
- PERF_EVENT_IOC_PAUSE_OUTPUT
enum PERF_EVENT_IOC_PAUSE_OUTPUT;
- PERF_EVENT_IOC_PERIOD
enum PERF_EVENT_IOC_PERIOD;
- PERF_EVENT_IOC_REFRESH
enum PERF_EVENT_IOC_REFRESH;
- PERF_EVENT_IOC_RESET
enum PERF_EVENT_IOC_RESET;
- PERF_EVENT_IOC_SET_BPF
enum PERF_EVENT_IOC_SET_BPF;
- PERF_EVENT_IOC_SET_FILTER
enum PERF_EVENT_IOC_SET_FILTER;
- PERF_EVENT_IOC_SET_OUTPUT
enum PERF_EVENT_IOC_SET_OUTPUT;
- PERF_FLAG_FD_CLOEXEC
enum PERF_FLAG_FD_CLOEXEC;
- PERF_FLAG_FD_NO_GROUP
enum PERF_FLAG_FD_NO_GROUP;
- PERF_FLAG_FD_OUTPUT
enum PERF_FLAG_FD_OUTPUT;
- PERF_FLAG_PID_CGROUP
enum PERF_FLAG_PID_CGROUP;
pid=cgroup id, per-cpu mode only
- PERF_MAX_CONTEXTS_PER_STACK
enum PERF_MAX_CONTEXTS_PER_STACK;
- PERF_MAX_STACK_DEPTH
enum PERF_MAX_STACK_DEPTH;
- PERF_MEM_LOCK_LOCKED
enum PERF_MEM_LOCK_LOCKED;
- PERF_MEM_LOCK_NA
enum PERF_MEM_LOCK_NA;
locked instruction *//** not available
- PERF_MEM_LOCK_SHIFT
enum PERF_MEM_LOCK_SHIFT;
- PERF_MEM_LVLNUM_ANY_CACHE
enum PERF_MEM_LVLNUM_ANY_CACHE;
- PERF_MEM_LVLNUM_L1
enum PERF_MEM_LVLNUM_L1;
- PERF_MEM_LVLNUM_L2
enum PERF_MEM_LVLNUM_L2;
- PERF_MEM_LVLNUM_L3
enum PERF_MEM_LVLNUM_L3;
- PERF_MEM_LVLNUM_L4
enum PERF_MEM_LVLNUM_L4;
- PERF_MEM_LVLNUM_LFB
enum PERF_MEM_LVLNUM_LFB;
- PERF_MEM_LVLNUM_NA
enum PERF_MEM_LVLNUM_NA;
- PERF_MEM_LVLNUM_PMEM
enum PERF_MEM_LVLNUM_PMEM;
- PERF_MEM_LVLNUM_RAM
enum PERF_MEM_LVLNUM_RAM;
- PERF_MEM_LVLNUM_SHIFT
enum PERF_MEM_LVLNUM_SHIFT;
- PERF_MEM_LVL_HIT
enum PERF_MEM_LVL_HIT;
- PERF_MEM_LVL_IO
enum PERF_MEM_LVL_IO;
- PERF_MEM_LVL_L1
enum PERF_MEM_LVL_L1;
- PERF_MEM_LVL_L2
enum PERF_MEM_LVL_L2;
- PERF_MEM_LVL_L3
enum PERF_MEM_LVL_L3;
- PERF_MEM_LVL_LFB
enum PERF_MEM_LVL_LFB;
- PERF_MEM_LVL_LOC_RAM
enum PERF_MEM_LVL_LOC_RAM;
- PERF_MEM_LVL_MISS
enum PERF_MEM_LVL_MISS;
- PERF_MEM_LVL_NA
enum PERF_MEM_LVL_NA;
- PERF_MEM_LVL_REM_CCE1
enum PERF_MEM_LVL_REM_CCE1;
- PERF_MEM_LVL_REM_CCE2
enum PERF_MEM_LVL_REM_CCE2;
- PERF_MEM_LVL_REM_RAM1
enum PERF_MEM_LVL_REM_RAM1;
- PERF_MEM_LVL_REM_RAM2
enum PERF_MEM_LVL_REM_RAM2;
- PERF_MEM_LVL_SHIFT
enum PERF_MEM_LVL_SHIFT;
- PERF_MEM_LVL_UNC
enum PERF_MEM_LVL_UNC;
- PERF_MEM_OP_EXEC
enum PERF_MEM_OP_EXEC;
- PERF_MEM_OP_LOAD
enum PERF_MEM_OP_LOAD;
- PERF_MEM_OP_NA
enum PERF_MEM_OP_NA;
type of opcode (load/store/prefetch,code) *//** not available
- PERF_MEM_OP_PFETCH
enum PERF_MEM_OP_PFETCH;
- PERF_MEM_OP_STORE
enum PERF_MEM_OP_STORE;
- PERF_MEM_REMOTE_REMOTE
enum PERF_MEM_REMOTE_REMOTE;
- PERF_MEM_REMOTE_SHIFT
enum PERF_MEM_REMOTE_SHIFT;
- PERF_MEM_SNOOPX_FWD
enum PERF_MEM_SNOOPX_FWD;
- PERF_MEM_SNOOPX_SHIFT
enum PERF_MEM_SNOOPX_SHIFT;
- PERF_MEM_SNOOP_HIT
enum PERF_MEM_SNOOP_HIT;
- PERF_MEM_SNOOP_HITM
enum PERF_MEM_SNOOP_HITM;
- PERF_MEM_SNOOP_MISS
enum PERF_MEM_SNOOP_MISS;
- PERF_MEM_SNOOP_NA
enum PERF_MEM_SNOOP_NA;
- PERF_MEM_SNOOP_NONE
enum PERF_MEM_SNOOP_NONE;
- PERF_MEM_SNOOP_SHIFT
enum PERF_MEM_SNOOP_SHIFT;
- PERF_MEM_TLB_HIT
enum PERF_MEM_TLB_HIT;
- PERF_MEM_TLB_L1
enum PERF_MEM_TLB_L1;
- PERF_MEM_TLB_L2
enum PERF_MEM_TLB_L2;
- PERF_MEM_TLB_MISS
enum PERF_MEM_TLB_MISS;
- PERF_MEM_TLB_NA
enum PERF_MEM_TLB_NA;
- PERF_MEM_TLB_OS
enum PERF_MEM_TLB_OS;
- PERF_MEM_TLB_SHIFT
enum PERF_MEM_TLB_SHIFT;
- PERF_MEM_TLB_WK
enum PERF_MEM_TLB_WK;
- PERF_RECORD_MISC_COMM_EXEC
enum PERF_RECORD_MISC_COMM_EXEC;
- PERF_RECORD_MISC_CPUMODE_MASK
enum PERF_RECORD_MISC_CPUMODE_MASK;
- PERF_RECORD_MISC_CPUMODE_UNKNOWN
enum PERF_RECORD_MISC_CPUMODE_UNKNOWN;
- PERF_RECORD_MISC_EXACT_IP
enum PERF_RECORD_MISC_EXACT_IP;
Indicates that the content of PERF_SAMPLE_IP points to
the actual instruction that triggered the event. See also
- PERF_RECORD_MISC_EXT_RESERVED
enum PERF_RECORD_MISC_EXT_RESERVED;
Reserve the last bit to indicate some extended misc field
- PERF_RECORD_MISC_GUEST_KERNEL
enum PERF_RECORD_MISC_GUEST_KERNEL;
- PERF_RECORD_MISC_GUEST_USER
enum PERF_RECORD_MISC_GUEST_USER;
- PERF_RECORD_MISC_HYPERVISOR
enum PERF_RECORD_MISC_HYPERVISOR;
- PERF_RECORD_MISC_KERNEL
enum PERF_RECORD_MISC_KERNEL;
- PERF_RECORD_MISC_MMAP_DATA
enum PERF_RECORD_MISC_MMAP_DATA;
PERF_RECORD_MISC_MMAP_DATA and PERF_RECORD_MISC_COMM_EXEC are used on
different events so can reuse the same bit position.
Ditto PERF_RECORD_MISC_SWITCH_OUT.
- PERF_RECORD_MISC_PROC_MAP_PARSE_TIMEOUT
enum PERF_RECORD_MISC_PROC_MAP_PARSE_TIMEOUT;
Indicates that /proc/PID/maps parsing are truncated by time out.
- PERF_RECORD_MISC_SWITCH_OUT
enum PERF_RECORD_MISC_SWITCH_OUT;
- PERF_RECORD_MISC_USER
enum PERF_RECORD_MISC_USER;
- PERF_SAMPLE_BRANCH_PLM_ALL
enum PERF_SAMPLE_BRANCH_PLM_ALL;
D header file for perf_event_open system call.
Converted from linux userspace header, comments included.