aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorAhmed S. Darwish <darwi@linutronix.de>2025-03-24 14:33:18 +0100
committerIngo Molnar <mingo@kernel.org>2025-03-25 10:23:15 +0100
commit5adfd367589cf9bb984aabfab74107bcf4402fde (patch)
tree45744674c3cf35df3b46d3fe757930e07e82f12e /tools/perf/scripts/python/bin/stackcollapse-record
parentx86/cpu: Use consolidated CPUID leaf 0x2 descriptor table (diff)
downloadlinux-5adfd367589cf9bb984aabfab74107bcf4402fde.tar.gz
linux-5adfd367589cf9bb984aabfab74107bcf4402fde.zip
x86/cacheinfo: Separate CPUID leaf 0x2 handling and post-processing logic
The logic of init_intel_cacheinfo() is quite convoluted: it mixes leaf 0x4 parsing, leaf 0x2 parsing, plus some post-processing, in a single place. Begin simplifying its logic by extracting the leaf 0x2 parsing code, and the post-processing logic, into their own functions. While at it, rework the SMT LLC topology ID comment for clarity. Suggested-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: H. Peter Anvin <hpa@zytor.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: https://lore.kernel.org/r/20250324133324.23458-24-darwi@linutronix.de
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions