perf tools: Add lzma decompression support for kernel module
authorJiri Olsa <jolsa@kernel.org>
Thu, 29 Jan 2015 12:29:39 +0000 (13:29 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 21 Mar 2015 17:53:40 +0000 (14:53 -0300)
commit80a32e5b498a7547073e5e4b2b804edc7219979d
treeefec16463880cf50866b2b5487df32450a96c176
parent6c6f0f6164fbf7a1667378496ee36ae48c18a9d6
perf tools: Add lzma decompression support for kernel module

In short, Fedora compresses kernel modules now (since version 21) with
lzma compression.

Adding lzma decompress support into the dso.c:compressions array
introduced by Namhyung earlier.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-2glp65kdtbrk0gblmirsjsnt@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.perf
tools/perf/config/Makefile
tools/perf/util/Build
tools/perf/util/dso.c
tools/perf/util/lzma.c [new file with mode: 0644]
tools/perf/util/util.h