I would like to use hw performance counters on RPi2. It could be DS-5 streamline of perf tool.
To do that I've followed instructions from ARM site:
http://infocenter.arm.com/help/index.js ... 00479.html
Kernel has been recompiled with all required options. Gator daemon and module build against new kernel can be started without problem. But perf can't find any hw performance event and streamline runs in limited mode (cycles only) with following warning:
Maybe someone already walked through this? Is it even possible to use such stuff on rpi2?ARM Processor PMU event counters have been detected, however the event counters are reading zeroes. Event counters include those counters listed in the counter configuration options dialog under the core name but exclude the cycle counter (Clock:Cycles) as it is controlled by a dedicated counter. It is possible that the PMU configuration bit DBGEN has not been enabled, and counter values subsequently will always read as zero. To remedy, please update your firmware or Linux kernel to enable DBGEN.
