Question on perf counter

Mathew Li mathew.li100 at gmail.com
Tue Jun 10 18:07:12 PDT 2014


Hi All,

I have a piece of kernel code (actually some assembly functions) on
ARM-v8. I want to know how many cycles CPU is taking to execute them.
I believe I could use performance counter for this job. So are there
some APIs in kernel for performance counter for ARM-v8 which I could
make use of?

Thanks!
Matt



More information about the linux-arm-kernel mailing list