]> git.baikalelectronics.ru Git - kernel.git/commit
perf pmu: Only print Using CPUID message once
authorAndi Kleen <ak@linux.intel.com>
Thu, 13 Oct 2016 21:15:24 +0000 (14:15 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 24 Oct 2016 14:07:41 +0000 (11:07 -0300)
commit941cded58cc9c2021188056d489c4168398065f2
tree6b27bc144c5c447605ebdea45c4efddddda10fb3
parenta298014894c74423b75ccade128522f3fff75d02
perf pmu: Only print Using CPUID message once

With uncore event aliases which are duplicated over multiple PMUs the
"Using CPUID" message with -v could be printed many times.  Only print
it once.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Link: http://lkml.kernel.org/r/1476393332-20732-3-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/pmu.c