I am trying to figure out how to read the L2 counters on Denver core. I am using libpfm4 to read the counters. It works fine for core counters like CPU_CYCLES and BRANCH_MISPRED. But when I try to read L2 counters like L2D_CACHE_ACCESS and L2D_CACHE_REFILL, the counter value for Denver cores is always zero (the A57 counter values are as expected). The perf tool shows similar results. Has anyone else faced this problem?
It’s quite rare question. Will update this after consult with designer.
Are there any updates about this query?
Denver uncore perfmon counters are not supported in TX2.