aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorSandipan Das <[email protected]>2022-08-11 17:59:59 +0530
committerPeter Zijlstra <[email protected]>2022-08-27 00:05:45 +0200
commit245268c19f701c7222dedcb6a383bc73d63925d4 (patch)
tree8bf43f1f7935c452c71db5a4b752290d4d3a2496 /tools/perf/scripts/python/bin/stackcollapse-record
parentdf3e9612f758fb5f9c251cbe262e3c68ffe67b2c (diff)
perf/x86/amd/lbr: Use fusion-aware branch classifier
AMD Last Branch Record Extension Version 2 (LbrExtV2) can report a branch from address that points to an instruction preceding the actual branch by several bytes due to branch fusion and further optimizations in Zen4 processors. In such cases, software should move forward sequentially in the instruction stream from the reported address and the address of the first branch encountered should be used instead. Hence, use the fusion-aware branch classifier to determine the correct branch type and get the offset for adjusting the branch from address. Signed-off-by: Sandipan Das <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/r/c324d2d0a9c3976da30b9563d09e50bfee0f264d.1660211399.git.sandipan.das@amd.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions