[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160922095826.e3e5986e5acf0b2f692ef55b@arm.com>
Date: Thu, 22 Sep 2016 09:58:26 -0500
From: Kim Phillips <kim.phillips@....com>
To: Ravi Bangoria <ravi.bangoria@...ux.vnet.ibm.com>
Cc: <linux-kernel@...r.kernel.org>, <acme@...nel.org>,
<linuxppc-dev@...ts.ozlabs.org>, <peterz@...radead.org>,
<mingo@...hat.com>, <alexander.shishkin@...ux.intel.com>,
<treeze.taeung@...il.com>, <naveen.n.rao@...ux.vnet.ibm.com>,
<markus@...ppelsdorf.de>, <namhyung@...nel.org>,
<pawel.moll@....com>, <chris.ryder@....com>, <jolsa@...nel.org>,
<mhiramat@...nel.org>
Subject: Re: [PATCH v7 0/6] perf annotate: Cross arch support + few fixes
On Thu, 22 Sep 2016 10:48:13 +0530
Ravi Bangoria <ravi.bangoria@...ux.vnet.ibm.com> wrote:
> On Thursday 22 September 2016 01:04 AM, Kim Phillips wrote:
> > On Wed, 21 Sep 2016 21:17:50 +0530
> > Ravi Bangoria <ravi.bangoria@...ux.vnet.ibm.com> wrote:
> >
> >> Kim, I don't have arm test machine. Can you please help me to test
> >> this on arm.
> > This works for me: hitting return on return instructions yields
> > "Invalid jump offset", but I'll get that later.
>
> Thanks Kim.
>
> Hmm.. so, ins__find_arm does not contain logic for return instructions. Navigation
> with return instruction is working fine for x86 and powerpc.
Right, for ARM, in order to match return instructions, 'lr' must be
found to be the operand of the branch instruction, which is not
contained in the 'name' variable passed to ins__find().
I don't want this to inhibit acceptance of this series, however: I plan
on addressing it afterwards, unless, of course, it is perceived as a
problem somehow (compatibility-wise, it is not because it is an error
at the moment).
Thanks,
Kim
Powered by blists - more mailing lists