perf tools: Fix for compressed kernel modules (v4)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest0 of 9 patches 1 replyIn review
Patches in v1 No applies recorded yet
None of the 9 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Adrian Hunter | Jiri Olsa |
|---|---|---|
| Series | A-b | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCHSET 0/9] perf tools: Fix for compressed kernel modules (v4)
Hello,
This is v4 of my compressed kernel module work. Please take a look.
* changes in v4)
- fix build-id cache symbolic link handling in annotate
- separate fix for a memory leak (Arnaldo)
- consolidate error path in __open_dso (Arnaldo)
- remove decompressed file after use
The code is avaiable at 'perf/kmod-decomp-v4' branch in my tree:
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git
Thanks,
Namhyung
Namhyung Kim (9):
perf annotate: Fix symbolic link of build-id cache perf tools: Fix a memory leak in __open_dso() 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 tools: Consolidate error path in __open_dso() 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 | 37 ++++++------------ tools/perf/util/build-id.c | 45 ---------------------- tools/perf/util/build-id.h | 1 - tools/perf/util/dso.c | 85 ++++++++++++++++++++++++++++++++++++++--- tools/perf/util/dso.h | 6 +++ tools/perf/util/symbol-elf.c | 38 ++---------------- tools/perf/util/symbol.c | 4 -- 8 files changed, 119 insertions(+), 117 deletions(-)
Signature · 1 line
2.13.1