diff options
author | Peter Zijlstra <peterz@infradead.org> | 2025-02-07 13:15:36 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2025-02-14 10:32:06 +0100 |
commit | c20ad96c9a8f0aeaf4e4057730a22de2657ad0c2 (patch) | |
tree | caee2dd6840c85e0bf7dbdfbffed90fde043d154 /tools/perf/scripts/python/stackcollapse.py | |
parent | ab9fea59487d8b5149a323e2092b7c0f53994dd5 (diff) |
x86/traps: Cleanup and robustify decode_bug()
Notably, don't attempt to decode an immediate when MOD == 3.
Additionally have it return the instruction length, such that WARN
like bugs can more reliably skip to the correct instruction.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Link: https://lore.kernel.org/r/20250207122546.721120726@infradead.org
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions