diff options
| author | Alexandre Ghiti <alexghiti@rivosinc.com> | 2023-08-02 10:03:23 +0200 |
|---|---|---|
| committer | Palmer Dabbelt <palmer@rivosinc.com> | 2023-08-16 07:28:19 -0700 |
| commit | 83c5e13b8cbbed9479cf568e03a5010d827e9781 (patch) | |
| tree | a8b56e1d74bb303a6d885f2f2d525c6f64733d3e /lib/test_fortify/write_overflow-strncpy-src.c | |
| parent | d5ac062d82d87124ac75e4273e3887578a7fae60 (diff) | |
riscv: Prepare for user-space perf event mmap support
Provide all the necessary bits in the generic riscv pmu driver to be
able to mmap perf events in userspace: the heavy lifting lies in the
driver backend, namely the legacy and sbi implementations.
Note that arch_perf_update_userpage is almost a copy of arm64 code.
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 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions
