[PATCHSET v3 0/6] perf tools: Fix for Compressed kernel modules
From: Namhyung Kim
Date: Wed Jun 07 2017 - 11:39:35 EST
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(-)
--
2.13.0