perf annotate: Use dso__decompress_kmodule_path()
authorNamhyung Kim <namhyung@kernel.org>
Thu, 8 Jun 2017 07:31:04 +0000 (16:31 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 8 Jun 2017 18:39:02 +0000 (15:39 -0300)
commit3c84fd53044f98017271101b59a21ddb20fb312b
treeb673457f8bb941913b8f60ad4f3fe8d6232869b3
parent42b3fa670825983fc8bd0ac7b80cc84ae3abb75b
perf annotate: Use dso__decompress_kmodule_path()

Convert open-coded decompress routine to use the function.

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-5-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c