]> www.infradead.org Git - users/dwmw2/linux.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)
committerSasha Levin <alexander.levin@microsoft.com>
Wed, 23 May 2018 01:36:28 +0000 (21:36 -0400)
commit955b7048c0878f13cd8606fa9c1ba7ff29710b6b
tree84da8e8407ec59ed8aa0f064283891b5c4386424
parent550eb634f043e317e3ffc44eb436230263d5dd81
perf tests: Decompress kernel module before objdump

[ Upstream commit 94df1040b1e6aacd8dec0ba3c61d7e77cd695f26 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
tools/perf/tests/code-reading.c