diff options
author | Atish Patra <atishp@rivosinc.com> | 2024-04-20 08:17:38 -0700 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-04-26 13:14:10 +0530 |
commit | 13cb706e28d9d4d3259954eb08c57b990e4429ea (patch) | |
tree | 305c6abff236d36f96ba23586fc47d6958c99879 /tools/testing/selftests/kvm/lib/userfaultfd_util.c | |
parent | 158cb9e61cb7f9ed07384584fe34fb9c39590293 (diff) |
KVM: riscv: selftests: Add a test for PMU snapshot functionality
Verify PMU snapshot functionality by setting up the shared memory
correctly and reading the counter values from the shared memory
instead of the CSR.
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20240420151741.962500-23-atishp@rivosinc.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/userfaultfd_util.c')
0 files changed, 0 insertions, 0 deletions