linux-stable/include/linux/perf
Atish Patra 9b3e150e31
RISC-V: Add a simple platform driver for RISC-V legacy perf
The old RISC-V perf implementation allowed counting of only
cycle/instruction counters using perf. Restore that feature by implementing
a simple platform driver under a separate config to provide backward
compatibility. Any existing software stack will continue to work as it is.
However, it provides an easy way out in future where we can remove the
legacy driver.

Reviewed-by: Anup Patel <anup@brainfault.org>
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>
2022-03-21 14:58:25 -07:00
..
arm_pmu.h KVM: arm64: Fix PMU probe ordering 2021-09-20 12:43:34 +01:00
riscv_pmu.h RISC-V: Add a simple platform driver for RISC-V legacy perf 2022-03-21 14:58:25 -07:00