perf stat: Add extra output of counter values with -vv
authorAndi Kleen <ak@linux.intel.com>
Wed, 27 Apr 2016 20:00:51 +0000 (13:00 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 6 May 2016 16:00:56 +0000 (13:00 -0300)
commit0b1abbf4a7d273a13065534d718661fc904703b9
tree19e11321f3a4116b7c752b74c7664ea0e4be7065
parent3521f3bc9dae4a79cfb9cc9ffcf6d961bbb7cbac
perf stat: Add extra output of counter values with -vv

Add debug output of raw counter values per CPU when perf stat -v is
specified, together with their cpu numbers.  This is very useful to
debug problems with per core counters, where we can normally only see
aggregated values.

v2: Make it depend on -vv, not -v

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1461787251-6702-12-git-send-email-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-stat.c