summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2026-03-30 10:59:21 +0200
committerIngo Molnar <mingo@kernel.org>2026-03-31 09:50:10 +0200
commit81310ce4287a23b8ff6e8684de73cfaae88782ca (patch)
treea5f86a15b25fc04afb395b3ca0db14fd92fbf63e /tools/perf/scripts/python/bin
parent47d2f007615ace34c5ec9026cd5f286833c62c1b (diff)
x86/process/64: Use savesegment() in __show_regs() instead of inline asm
Replace direct 'movl' instructions for DS, ES, FS, and GS read in __show_regs() with the savesegment() helper. This improves readability, consistency, and ensures proper handling of segment registers on x86_64. No functional change intended. Signed-off-by: Uros Bizjak <ubizjak@gmail.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: https://patch.msgid.link/20260330085938.67985-2-ubizjak@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions