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 processor PMU counters not configured

I met an issue when I do profile with DS, the number and instructions and L1/L2 cache is zero.

the warning info is

 

CONFIG_HW_PERF_EVENTS flag is yes. Any suggestions ?

$ zcat /proc/config.gz | grep CONFIG_HW_PERF_EVENTS

CONFIG_HW_PERF_EVENTS=y

Parents Reply Children
  • Is the device trusted firmware / hypervisor configured to allow Linux kernel access to PMU counters? As per the description in the warning, if DBGEN is not enabled, the PMU counters will all read as zero.

    Do you get any errors showing up in dmesg when you try to enable the counters?

    Do you get any errors showing up in the gatord log if you run it with debug logging enabled?

    Cheers, 
    Pete