google/CFU-Playground

How to enable perf_enable_counter(0)

ggangliu opened this issue · 0 comments

Hi, I try to reproduce the example in the step-by-step. But I cannot print out counter info. I found it need to define CONFIG_CPU_PERF_CSRS macro, but how to enable it ? or how to turn performance CSRs on ? Thanks for help