perf_hw_id

Generalized performance event event_id types, used by the attr.event_id parameter of the sys_perf_event_open() syscall:

Values

ValueMeaning
PERF_COUNT_HW_CPU_CYCLES0
PERF_COUNT_HW_INSTRUCTIONS1
PERF_COUNT_HW_CACHE_REFERENCES2
PERF_COUNT_HW_CACHE_MISSES3
PERF_COUNT_HW_BRANCH_INSTRUCTIONS4
PERF_COUNT_HW_BRANCH_MISSES5
PERF_COUNT_HW_BUS_CYCLES6
PERF_COUNT_HW_STALLED_CYCLES_FRONTEND7
PERF_COUNT_HW_STALLED_CYCLES_BACKEND8
PERF_COUNT_HW_REF_CPU_CYCLES9
PERF_COUNT_HW_MAX10

Meta