summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorAhmed S. Darwish <darwi@linutronix.de>2025-03-24 16:33:20 +0300
committerIngo Molnar <mingo@kernel.org>2025-03-25 12:23:21 +0300
commitfda5f817ae41035db9e36854600525145688b35e (patch)
tree6289812d97449250792e905e51453a5989b7c2bb /tools/perf/scripts
parent66122616e212f1b9fee7d03582a5fdab2e8ed0e4 (diff)
downloadlinux-fda5f817ae41035db9e36854600525145688b35e.tar.xz
x86/cacheinfo: Extract out cache level topology ID calculation
For Intel CPUID leaf 0x4 parsing, refactor the cache level topology ID calculation code into its own method instead of repeating the same logic twice for L2 and L3. 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-26-darwi@linutronix.de
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions