+10
−0
+1
−0
+2
−0
drivers/perf/riscv_pmu_sbi.c
0 → 100644
+578
−0
Loading
RISC-V SBI specification added a PMU extension that allows to configure start/stop any pmu counter. The RISC-V perf can use most of the generic perf features except interrupt overflow and event filtering based on privilege mode which will be added in future. It also allows to monitor a handful of firmware counters that can provide insights into firmware activity during a performance analysis. Signed-off-by:Atish Patra <atish.patra@wdc.com> Signed-off-by:
Atish Patra <atishp@rivosinc.com> Signed-off-by:
Palmer Dabbelt <palmer@rivosinc.com>