Hi Experts,
Is there in-built Performance Monitor Unit Driver available in the Linux kernel ?
Does it have the user space access to test the same ?
Regards,Techguyz
Hello Techguyz,
you can build PMU environment by yourself by referring to https://code.google.com/p/mycodespot/wiki/DirectPMUCodeGCC .
PMU registers can be accessible if the kernel permitted to do so by setting User Enable Register (PMUSERENR).
Also, the kernel should have made DBGEN enabled at the configuration time.
If the DBGEN was disabled, you would be able to use PMU cycle counter but the event counters return always zero.
I hope this will help you.
Best regards,
Yasuhiko Koumoto.