perf tests: Give a bit more information on the CQM test failure path
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: a831e67913e356be63d5bb0509fc1af3c4e6ceb4 Gitweb: http://git.kernel.org/tip/a831e67913e356be63d5bb0509fc1af3c4e6ceb4 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Thu, 7 Jan 2016 16:59:27 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Thu, 7 Jan 2016 16:59:27 -0300
perf tests: Give a bit more information on the CQM test failure path
Before:
$ perf test -v cqm 48: Test intel cqm nmi context read : --- start --- test child forked, pid 1681 parse_events failed test child finished with -2 ---- end ---- Test intel cqm nmi context read: Skip $
After:
$ perf test -v cqm 48: Test intel cqm nmi context read : --- start --- test child forked, pid 1681 parse_events failed, is "intel_cqm/llc_occupancy/" available? test child finished with -2 ---- end ---- Test intel cqm nmi context read: Skip $
Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Matt Fleming <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Wang Nan <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/arch/x86/tests/intel-cqm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/arch/x86/tests/intel-cqm.c +1 -1
@@ -54,7 +54,7 @@ int test__intel_cqm_count_nmi_context(int subtest __maybe_unused) ret =parse_events (evlist,"intel_cqm/llc_occupancy/" ,NULL );if (ret) { -pr_debug ("parse_events failed\n" ); +pr_debug ("parse_events failed, is \"intel_cqm/llc_occupancy/\" available?\n" ); err =TEST_SKIP ; goto out; }