diff options
author | Kim Phillips <kim.phillips@arm.com> | 2017-05-03 13:14:02 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-05-04 10:05:55 -0300 |
commit | 805b151a1afd24414706a7f6ae275fbb9649be74 (patch) | |
tree | 4d91a078a6c5c3ebcfd8bf7462636ff6ef84fded /tools/build/feature/test-sched_getcpu.c | |
parent | d1f7b0234ec7743899321aaaba379b2f5f9d0500 (diff) | |
download | op-kernel-dev-805b151a1afd24414706a7f6ae275fbb9649be74.zip op-kernel-dev-805b151a1afd24414706a7f6ae275fbb9649be74.tar.gz |
perf tests kmod-path: Don't fail if compressed modules aren't supported
__kmod_path__parse() uses is_supported_compression() to determine and
parse out compressed module file extensions. On systems without zlib,
this test fails and __kmod_path__parse() continues to strcmp "ko" with
"gz". Don't do this on those systems.
Signed-off-by: Kim Phillips <kim.phillips@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Fixes: 3c8a67f50a1e ("perf tools: Add kmod_path__parse function")
Link: http://lkml.kernel.org/r/20170503131402.c66e314460026c80cd787b34@arm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/build/feature/test-sched_getcpu.c')
0 files changed, 0 insertions, 0 deletions