Skip to content

Instantly share code, notes, and snippets.

@1ace
Created April 12, 2023 17:55
Show Gist options
  • Save 1ace/84ea9f3ca41c66ae95142295d899a646 to your computer and use it in GitHub Desktop.
Save 1ace/84ea9f3ca41c66ae95142295d899a646 to your computer and use it in GitHub Desktop.
$ perf list
List of pre-defined events (to be used in -e or -M):
alignment-faults [Software event]
bpf-output [Software event]
cgroup-switches [Software event]
context-switches OR cs [Software event]
cpu-clock [Software event]
cpu-migrations OR migrations [Software event]
dummy [Software event]
emulation-faults [Software event]
major-faults [Software event]
minor-faults [Software event]
page-faults OR faults [Software event]
task-clock [Software event]
duration_time [Tool event]
user_time [Tool event]
system_time [Tool event]
cycles OR apple_avalanche_pmu/cycles/ [Kernel PMU event]
instructions OR apple_avalanche_pmu/instructions/ [Kernel PMU event]
cycles OR apple_blizzard_pmu/cycles/ [Kernel PMU event]
instructions OR apple_blizzard_pmu/instructions/ [Kernel PMU event]
rNNN [Raw hardware event descriptor]
cpu/t1=v1[,t2=v2,t3 ...]/modifier [Raw hardware event descriptor]
[(see 'man perf-list' on how to encode it)]
mem:<addr>[/len][:access] [Hardware breakpoint]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment