summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/lzma.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2018-08-17 11:48:09 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-08-20 08:54:59 -0300
commitc9a8a6131fb68f6eabec34fd855e69b4855155e4 (patch)
tree3da5dd231fc0fcaf1b31610f884230a97c10387a /tools/perf/util/lzma.c
parentdde755a90e98a1c57f6a92d1a79bc5554024065c (diff)
downloadlinux-c9a8a6131fb68f6eabec34fd855e69b4855155e4.tar.gz
linux-c9a8a6131fb68f6eabec34fd855e69b4855155e4.tar.bz2
linux-c9a8a6131fb68f6eabec34fd855e69b4855155e4.zip
perf tools: Move the temp file processing into decompress_kmodule
We will add a compression check in the following patch and it makes it easier if the file processing is done in a single place. It also makes the current code simpler. The decompress_kmodule function now returns the fd of the uncompressed file and the file name in the pathname arg, if it's provided. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20180817094813.15086-10-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/lzma.c')
0 files changed, 0 insertions, 0 deletions