This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM DS-5: Getting Zeros on Some Counters

Note: This was originally posted on 15th August 2013 at http://forums.arm.com

Hi all,

When I run ARM streamline on ubuntu to collect statistics from Galaxy Nexus GT-I9250M, I got all zeros for some counters, including instruction executed, L1 cache miss and ITLB refill. I got the following warning in the analysis report of streamine:

[color=#3D3D3D]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.[/color]
[color=#3D3D3D]
[/color]
[color=#3D3D3D]I have tired all solutions I could find online (like [/color]https://community.freescale.com/thread/302685[color=#3D3D3D]), however, none of them work. [/color]
[color=#3D3D3D]
[/color]
[color=#3D3D3D]Any help would be greatly appreciated!  Thank you![/color]
  • Note: This was originally posted on 20th August 2013 at http://forums.arm.com

    Assuming you are running Ubuntu non-secure, you may not have permissions to enable the counters if they have been disabled in the secure world. If this is a shipping device and you don't have access to the secure world you may not be able to enable the counters; it depends how the device vendor has configured the debug settings.
  • Note: This was originally posted on 26th August 2013 at http://forums.arm.com


    Assuming you are running Ubuntu non-secure, you may not have permissions to enable the counters if they have been disabled in the secure world. If this is a shipping device and you don't have access to the secure world you may not be able to enable the counters; it depends how the device vendor has configured the debug settings.


    Hi,

    Thank you SO MUCH for your reply!

    My host machine uses ubuntu as OS, while my Galaxy nexus is running CyanogenMod 10.1. Could you please be more specific regarding how I could be able to turn PMU counters on? Or if it is impossbile to do so on OMAP4430 board, do you have any suggestions regarding any devices that are easy to use in terms of collecting cache misses and TLB misses?

    Thank you!

    Best regards,
    Xiaowan
  • Note: This was originally posted on 26th August 2013 at http://forums.arm.com


    Assuming you are running Ubuntu non-secure, you may not have permissions to enable the counters if they have been disabled in the secure world. If this is a shipping device and you don't have access to the secure world you may not be able to enable the counters; it depends how the device vendor has configured the debug settings.


    Do you mean I need a new ROM to change the debugging settings of the devices?

    Thank you! :)
  • Hello

    I'm currently facing the same problem if you solve your problem could you share the answer.

    Thanks