[PATCH 0/4] perf: support zstd-compressed kernel modules
From: Ivan Shapovalov
Date: Wed Oct 14 2026 - 13:35:55 EST
This extends in-perf zstd code to add an interface for streaming
decompression of an entire file, and uses that interface in dso.c to
support handling of zstd-compressed DSOs (e.g., zstd-compressed kernel
modules, as shipped by various distros including Arch).
Signed-off-by: Ivan Shapovalov <intelfx@xxxxxxxxxxxx>
---
Ivan Shapovalov (4):
perf: zstd: zstd_decompress_stream -> zstd_decompress_buffer
perf: zstd: factor out zstd_init_{c,d}stream()
perf: zstd: add streaming decompression and format probe functions
perf: support zstd-compressed kernel modules
tools/perf/Makefile.config | 2 +-
tools/perf/util/compress.h | 22 +++++-
tools/perf/util/dso.c | 5 +-
tools/perf/util/tool.c | 2 +-
tools/perf/util/zstd.c | 188 +++++++++++++++++++++++++++++++++++++--------
5 files changed, 183 insertions(+), 36 deletions(-)
---
base-commit: 0fcb05b72344f40806cbe810de8872f1698bf053
change-id: 20261014-perf-zstd-279017105eb3
Best regards,
--
Ivan Shapovalov <intelfx@xxxxxxxxxxxx>