diff options
author | Atish Patra <atishp@rivosinc.com> | 2025-09-09 00:03:24 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2025-09-16 11:49:31 +0530 |
commit | 880fcc329e2473ba02ffbc446fcd403972ab1fca (patch) | |
tree | ae5434d07774b7beae4a9966ade775eafafff0d6 /rust/kernel/alloc/allocator_test.rs | |
parent | adffbd06d0036a1f2d8424ecc22d37ca38709012 (diff) |
drivers/perf: riscv: Export PMU event info function
The event mapping function can be used in event info function to find out
the corresponding SBI PMU event encoding during the get_event_info function
as well. Refactor and export it so that it can be invoked from kvm and
internal driver.
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Acked-by: Paul Walmsley <pjw@kernel.org>
Link: https://lore.kernel.org/r/20250909-pmu_event_info-v6-5-d8f80cacb884@rivosinc.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'rust/kernel/alloc/allocator_test.rs')
0 files changed, 0 insertions, 0 deletions