summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRavi Bangoria <ravi.bangoria@amd.com>2026-02-16 04:25:28 +0000
committerPeter Zijlstra <peterz@infradead.org>2026-02-28 12:03:29 +0100
commit8c63c4af92ac5f041ce437c1f2a31ce3ef03c585 (patch)
tree7c47020be70da4647b9be17fc6ecd956093ab68a /tools/perf/scripts/python
parent35247fa60b74e1c643423c3bc7c6a59cbca262bb (diff)
perf/amd/ibs: Enable RIP bit63 hardware filtering
IBS on future hardware adds the ability to filter IBS events by examining RIP bit 63. Because Linux kernel addresses always have bit 63 set while user-space addresses never do, this capability can be used as a privilege filter. So far, IBS supports privilege filtering in software (swfilt=1), where samples are dropped in the NMI handler. The RIP bit63 hardware filter enables IBS to be usable by unprivileged users without passing swfilt flag. So, swfilt flag will silently be ignored when the hardware filtering capability is present. Example (non-root user): $ perf record -e ibs_op//u -- <workload> Signed-off-by: Ravi Bangoria <ravi.bangoria@amd.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://patch.msgid.link/20260216042530.1546-6-ravi.bangoria@amd.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions