]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
perf tests: Decompress kernel module before objdump
authorNamhyung Kim <namhyung@kernel.org>
Thu, 8 Jun 2017 07:31:07 +0000 (16:31 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 8 Jun 2017 18:39:19 +0000 (15:39 -0300)
commit94df1040b1e6aacd8dec0ba3c61d7e77cd695f26
tree82d95bd35fe7d9119065265c387e46437699200d
parent8ba29adf9a7cdff3c7283d5fc0dcf5e777d3b40f
perf tests: Decompress kernel module before objdump

If a kernel modules is compressed, it should be decompressed before
running objdump to parse binary data correctly.  This fixes a failure of
object code reading test for me.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
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-8-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/code-reading.c