Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1305290 > unrolled thread

[tip:perf/core] perf tests: Give a bit more information on the CQM test failure path

Started bytip-bot for Arnaldo Carvalho de Melo <tipbot@zytor.com>
First post2016-01-09 17:40 +0100
Last post2016-01-09 17:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [tip:perf/core] perf tests:   Give a bit more information on the CQM test failure path tip-bot for Arnaldo Carvalho de Melo <tipbot@zytor.com> - 2016-01-09 17:40 +0100

#1305290 — [tip:perf/core] perf tests: Give a bit more information on the CQM test failure path

Fromtip-bot for Arnaldo Carvalho de Melo <tipbot@zytor.com>
Date2016-01-09 17:40 +0100
Subject[tip:perf/core] perf tests: Give a bit more information on the CQM test failure path
Message-ID<qP4Iy-87R-23@gated-at.bofh.it>
Commit-ID:  a831e67913e356be63d5bb0509fc1af3c4e6ceb4
Gitweb:     http://git.kernel.org/tip/a831e67913e356be63d5bb0509fc1af3c4e6ceb4
Author:     Arnaldo Carvalho de Melo <acme@redhat.com>
AuthorDate: Thu, 7 Jan 2016 16:59:27 -0300
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
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 <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Matt Fleming <matt.fleming@intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-eidpiv5x4nkbsx37xwikbnir@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/arch/x86/tests/intel-cqm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/arch/x86/tests/intel-cqm.c b/tools/perf/arch/x86/tests/intel-cqm.c
index 94e0cb7..3e89ba8 100644
--- a/tools/perf/arch/x86/tests/intel-cqm.c
+++ b/tools/perf/arch/x86/tests/intel-cqm.c
@@ -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;
 	}

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web