perf_sw_ids

Special "software" events provided by the kernel, even if the hardware does not support performance events. These events measure various physical and sw events of the kernel (and allow the profiling of them as well):

Values

ValueMeaning
PERF_COUNT_SW_CPU_CLOCK0
PERF_COUNT_SW_TASK_CLOCK1
PERF_COUNT_SW_PAGE_FAULTS2
PERF_COUNT_SW_CONTEXT_SWITCHES3
PERF_COUNT_SW_CPU_MIGRATIONS4
PERF_COUNT_SW_PAGE_FAULTS_MIN5
PERF_COUNT_SW_PAGE_FAULTS_MAJ6
PERF_COUNT_SW_ALIGNMENT_FAULTS7
PERF_COUNT_SW_EMULATION_FAULTS8
PERF_COUNT_SW_DUMMY9
PERF_COUNT_SW_BPF_OUTPUT10
PERF_COUNT_SW_MAX11

Meta