Hi,
I have a arm64 device,perf list pmu
List of pre-defined events (to be used in -e):
cs_etm// [Kernel PMU event]However I cannot run perf record -e cs_etm successfully.
can you help?
ls /sys/bus/coresight/devices/|grep coresight-etm
coresight-etm0
coresight-etm1
coresight-etm2
coresight-etm3
coresight-etm4
coresight-etm5
coresight-etm6
coresight-etm7
#2 ls -l /sys/bus/coresight/devices/coresight-etm0
lrwxrwxrwx. 1 root root 0 Dec 7 16:58 /sys/bus/coresight/devices/coresight-etm0 -> ../../../devices/platform/soc/7040000.etm/coresight-etm0perf record -e cs_etm ls
event syntax error: 'cs_etm'
___ parser error
Run 'perf list' for a list of valid eventsUsage: perf record [] []
or: perf record [] -- []-e, --event <event> event selector. use 'perf list' to list available events
perf record -e cs_etm/7040000.etm/ ls
event syntax error: 'cs_etm/7040000.etm/'
___ parser error
Run 'perf list' for a list of valid eventsUsage: perf record [] []
or: perf record [] -- []-e, --event <event> event selector. use 'perf list' to list available events
perf record -e cs_etm/@7040000.etm/ ls
failed to set config "7040000.etm" on event cs_etm/@7040000.etm/ with 2 (No such file or directory)
I can cat /dev/coresight-tmc-etr > dump.bin after enabled ETM, but perf doesn't work as above stated.
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.