RISC-V PMU framework

modulename: riscv_pmu.ko

configname: CONFIG_RISCV_PMU

Linux Kernel Configuration
└─>Device Drivers
└─>Performance monitor support
└─>RISC-V PMU framework
In linux kernel since version 5.2 (release Date: 2019-07-07)  
Say y if you want to use CPU performance monitors on RISCV-based
systems. This provides the core PMU framework that abstracts common
PMU functionalities in a core library so that different PMU drivers
can reuse it.

source code:
depends
CONFIG_PERF_EVENTS
CONFIG_RISCV