summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAtish Patra <atishp@rivosinc.com>2023-02-05 04:15:03 +0300
committerAnup Patel <anup@brainfault.org>2023-02-07 18:05:33 +0300
commit8929283a687bb4b71ec9d3f1e827aecf829c6b1a (patch)
treeebca3a7bad3979818bd451fcfe3d71bf3c3bb6fe /tools/perf/scripts/python/stackcollapse.py
parent585e351ff359c032ea7ab48d999b252ba09f8051 (diff)
downloadlinux-8929283a687bb4b71ec9d3f1e827aecf829c6b1a.tar.xz
perf: RISC-V: Improve privilege mode filtering for perf
Currently, the host driver doesn't have any method to identify if the requested perf event is from kvm or bare metal. As KVM runs in HS mode, there are no separate hypervisor privilege mode to distinguish between the attributes for guest/host. Improve the privilege mode filtering by using the event specific config1 field. Reviewed-by: Andrew Jones <ajones@ventanamicro.com> Reviewed-by: Anup Patel <anup@brainfault.org> Signed-off-by: Atish Patra <atishp@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