Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-07-13 Thread Ravi Bangoria
On Wednesday 13 July 2016 01:09 PM, Michael Ellerman wrote: Arnaldo Carvalho de Melo writes: Em Tue, Jul 12, 2016 at 07:51:46AM +0530, Ravi Bangoria escreveu: Hi Arnaldo, On Friday 08 July 2016 02:01 PM, Michael Ellerman wrote: Ravi Bangoria

Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-07-13 Thread Michael Ellerman
Arnaldo Carvalho de Melo writes: > Em Tue, Jul 12, 2016 at 07:51:46AM +0530, Ravi Bangoria escreveu: >> Hi Arnaldo, >> >> On Friday 08 July 2016 02:01 PM, Michael Ellerman wrote: >> > Ravi Bangoria writes: >> > >> > > On Wednesday 06 July

Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-07-11 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 12, 2016 at 07:51:46AM +0530, Ravi Bangoria escreveu: > Hi Arnaldo, > > On Friday 08 July 2016 02:01 PM, Michael Ellerman wrote: > > Ravi Bangoria writes: > > > > > On Wednesday 06 July 2016 03:38 PM, Michael Ellerman wrote: > > > > > > I've sent

Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-07-11 Thread Ravi Bangoria
Hi Arnaldo, On Friday 08 July 2016 02:01 PM, Michael Ellerman wrote: Ravi Bangoria writes: On Wednesday 06 July 2016 03:38 PM, Michael Ellerman wrote: I've sent v4 which enables annotate for bctr' instructions. for 'bctr', it will show down arrow(indicate

Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-07-08 Thread Michael Ellerman
Ravi Bangoria writes: > On Wednesday 06 July 2016 03:38 PM, Michael Ellerman wrote: > > I've sent v4 which enables annotate for bctr' instructions. > > for 'bctr', it will show down arrow(indicate jump) and 'bctrl' will show > right arrow(indicate call). But no

Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-07-07 Thread Ravi Bangoria
Hi Michael, On Wednesday 06 July 2016 03:38 PM, Michael Ellerman wrote: Ravi Bangoria writes: On Thursday 30 June 2016 11:51 AM, Michael Ellerman wrote: On Thu, 2016-06-30 at 11:44 +0530, Ravi Bangoria wrote: diff --git a/tools/perf/util/annotate.c

Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-07-06 Thread Michael Ellerman
Ravi Bangoria writes: > On Thursday 30 June 2016 11:51 AM, Michael Ellerman wrote: >> On Thu, 2016-06-30 at 11:44 +0530, Ravi Bangoria wrote: >>> diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c >>> index 36a5825..b87eac7 100644 >>> ---

Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-07-04 Thread Ravi Bangoria
Hi Michael, On Friday 01 July 2016 02:13 PM, Ravi Bangoria wrote: Thanks Michael for your suggestion. On Thursday 30 June 2016 11:51 AM, Michael Ellerman wrote: On Thu, 2016-06-30 at 11:44 +0530, Ravi Bangoria wrote: diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index

Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-07-01 Thread Ravi Bangoria
Hi Balbir, On Friday 01 July 2016 06:18 PM, Balbir Singh wrote: On Fri, 2016-07-01 at 14:13 +0530, Ravi Bangoria wrote: Thanks Michael for your suggestion. On Thursday 30 June 2016 11:51 AM, Michael Ellerman wrote: On Thu, 2016-06-30 at 11:44 +0530, Ravi Bangoria wrote: diff --git

Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-07-01 Thread Balbir Singh
On Fri, 2016-07-01 at 14:13 +0530, Ravi Bangoria wrote: > Thanks Michael for your suggestion. >  > On Thursday 30 June 2016 11:51 AM, Michael Ellerman wrote: > >  > > On Thu, 2016-06-30 at 11:44 +0530, Ravi Bangoria wrote: > > >  > > > diff --git a/tools/perf/util/annotate.c

Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-07-01 Thread Ravi Bangoria
Thanks Michael for your suggestion. On Thursday 30 June 2016 11:51 AM, Michael Ellerman wrote: On Thu, 2016-06-30 at 11:44 +0530, Ravi Bangoria wrote: diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index 36a5825..b87eac7 100644 --- a/tools/perf/util/annotate.c +++

Re: [PATCH v3 3/4] perf annotate: add powerpc support

2016-06-30 Thread Michael Ellerman
On Thu, 2016-06-30 at 11:44 +0530, Ravi Bangoria wrote: > diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c > index 36a5825..b87eac7 100644 > --- a/tools/perf/util/annotate.c > +++ b/tools/perf/util/annotate.c > @@ -476,6 +481,125 @@ static int ins__cmp(const void *a, const void

[PATCH v3 3/4] perf annotate: add powerpc support

2016-06-30 Thread Ravi Bangoria
From: Naveen N. Rao Powerpc has long list of branch instructions and hardcoding them in table appears to be error-prone. So, add new function to find instruction instead of creating table. This function dynamically create table(list of 'struct ins'), and instead