Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Manouchehri/58590c034f63ee34d88ad387668c615e to your computer and use it in GitHub Desktop.
Save Manouchehri/58590c034f63ee34d88ad387668c615e to your computer and use it in GitHub Desktop.
List of pre-defined events (to be used in -e):
cpu-cycles OR cycles [Hardware event]
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]
cpu_cycles OR armv8_pmuv3/cpu_cycles/ [Kernel PMU event]
sw_incr OR armv8_pmuv3/sw_incr/ [Kernel PMU event]
Performance counter stats for '/bin/true':
28.39 msec task-clock # 0.739 CPUs utilized
0 context-switches # 0.000 /sec
0 cpu-migrations # 0.000 /sec
42 page-faults # 1.479 K/sec
28358004 cycles # 0.999 GHz
<not supported> instructions
<not supported> branches
<not supported> branch-misses
<not supported> L1-dcache-loads
<not supported> L1-dcache-load-misses
<not supported> LLC-loads
<not supported> LLC-load-misses
<not supported> L1-icache-loads
<not supported> L1-icache-load-misses
<not supported> dTLB-loads
<not supported> dTLB-load-misses
<not supported> iTLB-loads
<not supported> iTLB-load-misses
<not supported> L1-dcache-prefetches
<not supported> L1-dcache-prefetch-misses
0.038401935 seconds time elapsed
0.021277000 seconds user
0.017021000 seconds sys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment