perf test: Add debug line to diagnose broken metrics
authorIan Rogers <irogers@google.com>
Thu, 7 Jul 2022 15:34:48 +0000 (08:34 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Jul 2022 11:48:18 +0000 (08:48 -0300)
commitc7a774d78111d55f409d9ee0a5db2c4eb39d6657
tree19ff5717e35b2f77d513028705381acc7529ee9f
parent5a059790afe8a6e11dbe45475eb45401ec9937ea
perf test: Add debug line to diagnose broken metrics

Printing out the metric name and architecture makes finding the source
of a failure easier.

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: John Garry <john.garry@huawei.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: https://lore.kernel.org/r/20220707153449.202409-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/pmu-events.c