aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2024-04-20 08:17:28 -0700
committerAnup Patel <[email protected]>2024-04-26 13:13:46 +0530
commit2196c066f13861919a83b3b3ffda08a79cf87bdd (patch)
tree463ecb64c49689f627f682c2b4a7db2a16855dcf /tools/perf/scripts/python/export-to-postgresql.py
parent98ce906bd0a64b59da894263b1ce0d2c19c70893 (diff)
RISC-V: KVM: No need to exit to the user space if perf event failed
Currently, we return a linux error code if creating a perf event failed in kvm. That shouldn't be necessary as guest can continue to operate without perf profiling or profiling with firmware counters. Return appropriate SBI error code to indicate that PMU configuration failed. An error message in kvm already describes the reason for failure. Fixes: 0cb74b65d2e5 ("RISC-V: KVM: Implement perf support without sampling") Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Atish Patra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions