Driver for supporting ARCv3 cluster performance measurement unit(PMU).
Examples of usage:
"perf list" shows a list of availabe core and cluster events.
"perf stat -a -e cycles,instructions,branches,NOCnumrd0,NOCnumwr0,CLNcycttl ls"
"perf record -a -F 250 -e CLNcycttl ls && perf report > perf.report && vi perf.report"
Perf record/report works on SMP configuration but meant to be used on UP systems. On multiprocessor systems, it is impossible to determine which executable code is causing events in the cluster. So only one CPU program counter will be recorded for profiling report, and usually this CPU is 0.
Driver for supporting ARCv3 cluster performance measurement unit(PMU).
Examples of usage:
Perf record/report works on SMP configuration but meant to be used on UP systems. On multiprocessor systems, it is impossible to determine which executable code is causing events in the cluster. So only one CPU program counter will be recorded for profiling report, and usually this CPU is 0.