summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2026-10-17 12:53:35 -0400
committerMagnus Lindholm <linmag7@gmail.com>2026-10-18 00:44:43 +0200
commit7fa247f96315d00511615bd9a36dca3f3906c621 (patch)
tree2c8bfaf0fd2c0450bb6cbde6f90fbc815cd30e7a /tools/perf/scripts/python/bin/stackcollapse-report
parentc437950dceb88a92ca526f5ce3afd327c4fce457 (diff)
downloadlinux-7fa247f96315d00511615bd9a36dca3f3906c621.tar.gz
linux-7fa247f96315d00511615bd9a36dca3f3906c621.zip
alpha: support the remaining kernel compression formats
Nothing about the boot stub is specific to gzip, so wire up bzip2, lz4, lzma, lzo, xz and zstd as well: select the matching HAVE_KERNEL_* symbol, add a suffix-y entry and a compression rule for the piggy-backed image, and include the decompressor into the stub's misc.c. Only gzip's trailer already carries the uncompressed size, so the other formats use the _with_size variants; output_len, which vmlinux.scr takes from the last 4 bytes of the payload, then works for all of them. The stub passes it to __decompress(), which zstd requires. Signed-off-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Magnus Lindholm <linmag7@gmail.com> Tested-by: Magnus Lindholm <linmag7@gmail.com> Link: https://lore.kernel.org/r/20261017-alpha-kernel-compression-v2-3-c71e6b08dc63@gmail.com Signed-off-by: Magnus Lindholm <linmag7@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions