Skip to content

perf tools: Fix for Compressed kernel modules

Namhyung Kim lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 5 repliesIn review
  2. v23 patches 4 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6perf tools: Introduce dso__decompress_kmodule_{fd,path}tools/perf/util/dso.c tools/perf/util/dso.h tools/perf/util/symbol-elf.c+58 -350 replies
2/6perf annotate: Use dso__decompress_kmodule_path()tools/perf/util/annotate.c+3 -240 replies
3/6perf tools: Decompress kernel module when reading DSO datatools/perf/util/dso.c+15 -12 replies
4/6perf test: Decompress kernel module before objdumptools/perf/tests/code-reading.c+19 -13 replies
5/6perf symbols: Keep DSO->symtab_type after decompresstools/perf/util/symbol-elf.c+2 -00 replies
6/6perf symbols: Kill dso__build_id_is_kmod()tools/perf/util/build-id.c tools/perf/util/build-id.h tools/perf/util/symbol.c+0 -500 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCHSET v3 0/6] perf tools: Fix for Compressed kernel modules

Hello,

This is v3 of my compressed kernel module work. This version addresses Adrian's comment and also fixes perf annotate to handle compressed kernel modules in the build-id cache.

The code is available at 'perf/kmod-decomp-v3' branch in my tree:

git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git

Thanks,
Namhyung

Namhyung Kim (6):
perf tools: Introduce dso__decompress_kmodule_{fd,path} perf annotate: Use dso__decompress_kmodule_path() perf tools: Decompress kernel module when reading DSO data perf test: Decompress kernel module before objdump perf symbols: Keep DSO->symtab_type after decompress perf symbols: Kill dso__build_id_is_kmod()

 tools/perf/tests/code-reading.c | 20 +++++++++++-
 tools/perf/util/annotate.c      | 27 ++---------------
 tools/perf/util/build-id.c      | 45 ---------------------------
 tools/perf/util/build-id.h      |  1 -
 tools/perf/util/dso.c           | 67 ++++++++++++++++++++++++++++++++++++++++-
 tools/perf/util/dso.h           |  6 ++++
 tools/perf/util/symbol-elf.c    | 38 ++---------------------
 tools/perf/util/symbol.c        |  4 ---
 8 files changed, 97 insertions(+), 111 deletions(-)
Signature · 1 line
2.13.0