RISC-V PMU based on SBI PMU extension

modulename: riscv_pmu_sbi.ko

configname: CONFIG_RISCV_PMU_SBI

Linux Kernel Configuration
└─>Device Drivers
└─>Performance monitor support
└─>RISC-V PMU based on SBI PMU extension
In linux kernel since version 5.2 (release Date: 2019-07-07)  
Say y if you want to use the CPU performance monitor
using SBI PMU extension on RISC-V based systems. This option provides
full perf feature support i.e. counter overflow, privilege mode
filtering, counter configuration.

source code:
depends
CONFIG_PERF_EVENTS
CONFIG_RISCV_PMU
CONFIG_RISCV_SBI