diff options
author | Alexandre Ghiti <alexghiti@rivosinc.com> | 2023-08-02 11:03:24 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-08-16 17:28:19 +0300 |
commit | 50be342829053d6d4a3c66eacc0e778f6611a37a (patch) | |
tree | a375e43caeabc24c1da2fdc59ad9af315c801859 /drivers/perf/riscv_pmu.c | |
parent | 83c5e13b8cbbed9479cf568e03a5010d827e9781 (diff) | |
download | linux-50be342829053d6d4a3c66eacc0e778f6611a37a.tar.xz |
drivers: perf: Implement perf event mmap support in the legacy backend
Implement the needed callbacks in the legacy driver so that we can
directly access the counters through perf in userspace.
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Diffstat (limited to 'drivers/perf/riscv_pmu.c')
0 files changed, 0 insertions, 0 deletions