Skip to content

Commit

Permalink
the TRACE_SYSTEM of the pebs_v1/pebs_v2 event must be specified
Browse files Browse the repository at this point in the history
  • Loading branch information
daishengdong authored and andikleen committed Dec 14, 2023
1 parent 13399d4 commit bcf293e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pebs-grabber/pebs-grabber.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
make [KDIR=/my/kernel/build/dir]
insmod pebs-grabber.ko
# needs to record as root
perf record -e cycles:p,pebs_v1,pebs_v2 [command, -a for all etc.]
perf record -e cycles:p,pebs:pebs_v1,pebs:pebs_v2 [command, -a for all etc.]
perf report
perf script to display pebs data
# alternatively trace-cmd and kernelshark can be also used to dump
Expand Down

0 comments on commit bcf293e

Please sign in to comment.