perf tests: Give a bit more information on the CQM test failure path
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 7 Jan 2016 19:59:27 +0000 (16:59 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 7 Jan 2016 19:59:27 +0000 (16:59 -0300)
commita831e67913e356be63d5bb0509fc1af3c4e6ceb4
tree836db4a481961b8d999d9c1a2761554bf2a3413c
parent239849dde350c9f7356974ca4f62171f50a2c86e
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
This page took 0.031258 seconds and 5 git commands to generate.