aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAtish Patra <[email protected]>2023-02-04 17:15:03 -0800
committerAnup Patel <[email protected]>2023-02-07 20:35:33 +0530
commit8929283a687bb4b71ec9d3f1e827aecf829c6b1a (patch)
treeebca3a7bad3979818bd451fcfe3d71bf3c3bb6fe /tools/perf/scripts/python/stackcollapse.py
parent585e351ff359c032ea7ab48d999b252ba09f8051 (diff)
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 <[email protected]> Reviewed-by: Anup Patel <[email protected]> Signed-off-by: Atish Patra <[email protected]> Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions