lkml.org 
[lkml]   [2017]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCHSET 0/9] perf tools: Fix for compressed kernel modules (v4)
Date
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(-)

--
2.13.1

\
 
 \ /
  Last update: 2017-06-12 01:23    [W:0.120 / U:3.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site