Skip to content

perf: support zstd-compressed kernel modules

Ivan Shapovalov linux-perf-users lkml oe-lkp 1 version In review

Get series with b4
b4 am [email protected] change-id 20261014-perf-zstd-279017105eb3

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4perf: zstd: zstd_decompress_stream -> zstd_decompress_buffertools/perf/util/compress.h tools/perf/util/tool.c tools/perf/util/zstd.c+4 -40 replies
2/4perf: zstd: factor out zstd_init_{c,d}stream()tools/perf/util/zstd.c+52 -300 replies
3/4perf: zstd: add streaming decompression and format probe functionstools/perf/util/compress.h tools/perf/util/zstd.c+122 -00 replies
4/4perf: support zstd-compressed kernel modulestools/perf/Makefile.config tools/perf/util/dso.c+5 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] perf: support zstd-compressed kernel modules

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).

---
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,

Signature · 1 line
Ivan Shapovalov <[email protected]>