Re: [PATCH 11/11] perf, tools, stat: Add extra output of counter values with -v

From: Arnaldo Carvalho de Melo
Date: Wed Apr 06 2016 - 11:16:29 EST


Em Wed, Apr 06, 2016 at 08:10:08AM -0700, Andi Kleen escreveu:
> On Wed, Apr 06, 2016 at 11:32:20AM -0300, Arnaldo Carvalho de Melo wrote:
> > Em Mon, Apr 04, 2016 at 01:41:54PM -0700, Andi Kleen escreveu:
> > > From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> > >
> > > 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.
> >
> > Can we do it only when per CPU is in place?
>
> Even then it is useful because the output is aggregated,
> so we don't know which CPU reported what.
>
> Can perhaps increase the verbose threshold and only
> print it for -vv or -vvv ?

Yeah, that would be better, this way people will not get two identical
lines for a common usecase when using -v.

- Arnaldo