Re: [PATCH] perf, tools, stat: Fix perf stat -T

Jiri Olsa
2015-07-28T14:37:56Z

On Tue, Jul 28, 2015 at 11:32:57AM -0300, Arnaldo Carvalho de Melo wrote:
> Em Tue, Jul 28, 2015 at 04:30:18PM +0200, Jiri Olsa escreveu:
> > On Tue, Jul 28, 2015 at 11:21:32AM -0300, Arnaldo Carvalho de Melo wrote:
> > > Em Tue, Jul 28, 2015 at 04:10:06PM +0200, Jiri Olsa escreveu:
> > > > On Mon, Jul 27, 2015 at 04:24:51PM -0700, Andi Kleen wrote:
> > > > > +++ b/tools/perf/util/stat-shadow.c
> > > > > + update_stats(&runtime_cycles_in_tx_stats[ctx][cpu], count[0]);
>
> > > > oops, looks like copy&paste issue.. thanks
>
> > > > we now print comment line if the avg is 0, but I think it's ok
>
> > > > Acked-by: Jiri Olsa <jolsa@kernel.org>
>
> > > This affects just perf/core, right?
>
> > I guess, dont think it's an urgent one.. Andi, please speak up ;-)
>
> I'm not talking about it being urgent or not, I'm talking about it being
> a bug present only in perf/core or if this is something that is in
> perf/urgent, i.e. affects what is in Linus's upstream tree, etc.

ah ok, it affects perf/urgent as well

jirka