[PATCH v2,RESEND 0/2] drivers: perf: fix crash with the legacy riscv driver
From: Vadim Shakirov
Date: Tue Feb 27 2024 - 12:06:45 EST
This series fix crash with the legacy riscv driver when configs:
CONFIG_RISCV_PMU_LEGACY=y and CONFIG_RISCV_PMU_SBI=n and you try
to perf record
Vadim Shakirov (2):
drivers: perf: added capabilities for legacy PMU
drivers: perf: ctr_get_width function for legacy is not defined
drivers/perf/riscv_pmu.c | 18 +++++-------------
drivers/perf/riscv_pmu_legacy.c | 10 +++++++++-
2 files changed, 14 insertions(+), 14 deletions(-)
--
2.34.1