Hi,I've recently acquired a development board including Cortex-A55 CPUs. However, I'm not able to access the performance monitoring counters via PAPI. Digging further, I've seen that perfmon2 does not support the Cortex-A55 CPU at the moment. Is there any other way I could access the PMU counters from the source code?Best,
d.
Yes, just read or write it. Like this
/* PMU */ TFUNC write_PMCR mcr p15, #0, r0, c9, c12, #0 bx lr ENDFUNC write_PMCR
Hi 42Bastian SchickThanks for your answer. It turns out that perfmon2 is very easy to extend to support new architectures. So we've taken as bases the Cortex-A53 configuration files and replaced key parameters with information found in the Cortex-A55 reference manual. After that, we could access the performance monitoring counters from PAPI.
Fine, then you should mark the question as "Answered".