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

    • 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

      • What can you tell us about the board you are using?

        Can you run

            gatord -d 1 > log.txt 2>&1

        to capture a log, then post it here?

          • Hi from the log, it looks like you are using version 7.9.0 of gatord, but recompiled to report that it is version 8.0.0, presumably so you can use it with a later version of Streamline?

            This is not explected to work; please first retry using the binary provided with Streamline 8.0.

            Thanks, Ben

            0