Some question about PMU
Closed this issue · 1 comments
peyer commented
Hi ! Recently, I focus on Performance Profiling of Android and learned that PMU could record some useful information about cache, instruction, memory and so on.
I have a question that should I compile linux kernel code with CONFIG_HW_PERF_EVENTS=ON / CONFIG_ARM_SPE_PMU=ON, if I want to get PMU work?
bjacob commented
CONFIG_HW_PERF_EVENTS
sounds like it would be required, yes. I don't know about the other one. Sorry, I haven't compiled my own linux kernel in ~ 20 years! Anyway, whichever config is used for the default kernel of any common distro, is sufficient.