summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2026-09-05 15:29:39 -0400
committerMagnus Lindholm <linmag7@gmail.com>2026-10-18 00:44:42 +0200
commit27f48a2c82917cb4c6fd771734671c118d2cf2af (patch)
tree0e9ba2ea2466685191487393de5127f293041292 /tools/perf/scripts/python/bin/stackcollapse-record
parente517a172b77601839e1c52ac4303602e285804bb (diff)
downloadlinux-27f48a2c82917cb4c6fd771734671c118d2cf2af.tar.gz
linux-27f48a2c82917cb4c6fd771734671c118d2cf2af.zip
alpha: discard .eh_frame and the relocation sections
gcc emits .eh_frame for Alpha even though the kernel builds with -fno-asynchronous-unwind-tables, and nothing in the kernel consumes it: the stack trace code scans the stack for text addresses rather than unwinding DWARF. It was allocated in the loaded image, so dropping it shrinks vmlinux by about 1.1MB for a Marvel SMP configuration. The .rela* sections are equally useless, as the kernel image is not relocatable. The linker was already dropping their contents. Both were being placed as orphan sections, which is what drew attention to them. Assisted-by: Claude:claude-opus-5 Signed-off-by: Matt Turner <mattst88@gmail.com> Tested-by: Magnus Lindholm <linmag7@gmail.com> Reviewed-by: Magnus Lindholm <linmag7@gmail.com> Link: https://lore.kernel.org/r/20260905-arch-kconfig-options-v2-v2-18-83e8245761a2@gmail.com Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions