diff options
author | 2024-04-20 08:17:27 -0700 | |
---|---|---|
committer | 2024-04-26 13:13:44 +0530 | |
commit | 98ce906bd0a64b59da894263b1ce0d2c19c70893 (patch) | |
tree | ea741460599f3c237bd48689dc010d04eb9e6c5d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | RISC-V: KVM: Fix the initial sample period value (diff) | |
download | wireguard-linux-98ce906bd0a64b59da894263b1ce0d2c19c70893.tar.xz wireguard-linux-98ce906bd0a64b59da894263b1ce0d2c19c70893.zip |
RISC-V: KVM: No need to update the counter value during reset
The virtual counter value is updated during pmu_ctr_read. There is no need
to update it in reset case. Otherwise, it will be counted twice which is
incorrect.
Fixes: 0cb74b65d2e5 ("RISC-V: KVM: Implement perf support without sampling")
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-12-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