Hello,
I’m attempting to use the Linux perf subsystem to measure Cortex-A53/Kirin 620 hardware events (e.g. L1 and L2 cache hits/misses).
However, it’s failing to recognise any hardware events as expected, which is persisting through all known Linux kernel versions, from 96board’s stock Debian image to the most recent kernel build (5.17.0-rc1).
Could someone please provide some assistance? Example below.
root@linaro-developer:~/linux/tools/perf# ./perf list
List of pre-defined events (to be used in -e):
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]
rNNN [Raw hardware event descrip
cpu/t1=v1[,t2=v2,t3 ...]/modifier [Raw hardware event descrip
(see 'man perf-list' on how to encode it)
mem:<addr>[/len][:access] [Hardware breakpoint]