diff options
author | Namhyung Kim <namhyung@kernel.org> | 2017-06-08 09:31:03 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-06-08 20:38:55 +0200 |
commit | 42b3fa670825983fc8bd0ac7b80cc84ae3abb75b (patch) | |
tree | 184d39f4b2b64ec51d1e87eb7589471fb1af66e2 /tools/perf/util/annotate.c | |
parent | perf tools: Fix a memory leak in __open_dso() (diff) | |
download | linux-42b3fa670825983fc8bd0ac7b80cc84ae3abb75b.tar.xz linux-42b3fa670825983fc8bd0ac7b80cc84ae3abb75b.zip |
perf tools: Introduce dso__decompress_kmodule_{fd,path}
Move decompress_kmodule() to util/dso.c and split it into two functions
returning fd and (decompressed) file path. The existing user only wants
the fd version but the path version will be used soon.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Wang Nan <wangnan0@huawei.com>
Cc: kernel-team@lge.com
Link: http://lkml.kernel.org/r/20170608073109.30699-4-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions