summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAtish Patra <atishp@rivosinc.com>2024-12-25 00:04:55 +0300
committerAnup Patel <anup@brainfault.org>2024-12-30 11:31:02 +0300
commitaf79caa83f6aa41e9092292a2ba7f701e57353ec (patch)
tree1d283794e45e1391aecb1667c31a3308f4b24d98 /tools/perf/scripts/python/stackcollapse.py
parent2f15b5eaff79b70b004b0aae79dee62d3b3abda0 (diff)
downloadlinux-af79caa83f6aa41e9092292a2ba7f701e57353ec.tar.xz
RISC-V: KVM: Add new exit statstics for redirected traps
Currently, kvm doesn't delegate the few traps such as misaligned load/store, illegal instruction and load/store access faults because it is not expected to occur in the guest very frequently. Thus, kvm gets a chance to act upon it or collect statistics about it before redirecting the traps to the guest. Collect both guest and host visible statistics during the traps. Enable them so that both guest and host can collect the stats about them if required. Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Atish Patra <atishp@rivosinc.com> Link: https://lore.kernel.org/r/20241224-kvm_guest_stat-v2-3-08a77ac36b02@rivosinc.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions