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

2016-06-29 Thread Naveen N. Rao
On 2016/06/29 04:45PM, Ravi Bangoria wrote: > 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

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

2016-06-29 Thread Naveen N. Rao
On 2016/06/29 04:45PM, Ravi Bangoria wrote: > 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

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

2016-06-29 Thread Ravi Bangoria
Thanks Naveen, On Wednesday 29 June 2016 08:15 PM, Naveen N. Rao wrote: On 2016/06/29 04:45PM, Ravi Bangoria wrote: 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

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

2016-06-29 Thread Ravi Bangoria
Thanks Naveen, On Wednesday 29 June 2016 08:15 PM, Naveen N. Rao wrote: On 2016/06/29 04:45PM, Ravi Bangoria wrote: 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

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

2016-06-29 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

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

2016-06-29 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 of creating object every time,