[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161025181105.GH4543@kernel.org>
Date: Tue, 25 Oct 2016 15:11:05 -0300
From: Arnaldo Carvalho de Melo <acme@...nel.org>
To: "Jin, Yao" <yao.jin@...ux.intel.com>
Cc: Andi Kleen <ak@...ux.intel.com>,
Nilay Vaish <nilayvaish@...il.com>,
Jiri Olsa <jolsa@...nel.org>,
Linux Kernel list <Linux-kernel@...r.kernel.org>,
kan.liang@...el.com
Subject: Re: [PATCH v2 2/6] perf report: Caculate and return the branch
counting in callchain
Em Fri, Oct 21, 2016 at 08:23:41AM +0800, Jin, Yao escreveu:
> Hi Andi, Hi Nilay,
>
> Thanks so much for your comments!
>
> I will upgrade the patch to just display the count for abort.
Ok, waiting for that then,
- Arnaldo
> Thanks
>
> Jin Yao
>
> On 10/21/2016 2:20 AM, Andi Kleen wrote:
> > > OK, I am more confused now. Are you predicting some quantity related
> > > to transactions? Why would you divide abort count by branch count?
> > > Further, I just looked at patch 6/6. It has the following text:
> > >
> > > + Also show with some branch flags that can be:
> > > + - Predicted: display the average percentage of predicated branches.
> > > + (predicated number / total number)
> > > + - Abort: display the average percentage of abort branches.
> > > + (abort number /total number)
> > > + - Cycles: cycles in basic block.
> > >
> > >
> > > I think there is inconsistency between what you are suggesting and
> > > what the patch has.
> > An abort is an unique branch. But yes there is no total number,
> > so the formula will always be 100%. So yes would probably be
> > better to just display a count for abort.
> >
> > -Andi
Powered by blists - more mailing lists