diff options
author | Anshuman Khandual <anshuman.khandual@arm.com> | 2022-08-24 10:18:17 +0530 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-08-29 09:42:42 +0200 |
commit | 5402d25aa5710d240040f73fb13d7d5c303ef071 (patch) | |
tree | cb99d6c083c1052b71a2fd3ae668b5e9286db6a7 /tools/perf/scripts/python | |
parent | b190bc4ac9e6d9763b61654c5a0c085ff77d7a09 (diff) |
perf: Capture branch privilege information
Platforms like arm64 could capture privilege level information for all the
branch records. Hence this adds a new element in the struct branch_entry to
record the privilege level information, which could be requested through a
new event.attr.branch_sample_type based flag PERF_SAMPLE_BRANCH_PRIV_SAVE.
This flag helps user choose whether privilege information is captured.
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: James Clark <james.clark@arm.com>
Link: https://lkml.kernel.org/r/20220824044822.70230-4-anshuman.khandual@arm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions