diff options
author | 2024-04-20 08:17:39 -0700 | |
---|---|---|
committer | 2024-04-26 13:14:12 +0530 | |
commit | 4ace2573d13ee22ebc5bb90efca6c2c9b27b2ef8 (patch) | |
tree | 32b11eb546b69a21b2be2e2343411fcdc823e5f7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: riscv: selftests: Add a test for PMU snapshot functionality (diff) | |
download | wireguard-linux-4ace2573d13ee22ebc5bb90efca6c2c9b27b2ef8.tar.xz wireguard-linux-4ace2573d13ee22ebc5bb90efca6c2c9b27b2ef8.zip |
KVM: riscv: selftests: Add a test for counter overflow
Add a test for verifying overflow interrupt. Currently, it relies on
overflow support on cycle/instret events. This test works for cycle/
instret events which support sampling via hpmcounters on the platform.
There are no ISA extensions to detect if a platform supports that. Thus,
this test will fail on platform with virtualization but doesn't
support overflow on these two events.
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Link: https://lore.kernel.org/r/20240420151741.962500-24-atishp@rivosinc.com
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions