Re: [PATCH] arm: perf: Fix userspace call stack walking

2015-10-05 Thread Will Deacon
Hi Drew, On Thu, Oct 01, 2015 at 06:26:47PM +0100, Drew Richardson wrote: > I got some undeliverable responses the first time, sorry if you get this twice > > --- > > The layout of stack frames has changed over time. Testing using a > arm-linux-gnueabi gcc-4.2 from 2007 the original code didn't

Re: [PATCH] arm: perf: Fix userspace call stack walking

2015-10-01 Thread Drew Richardson
On Thu, Oct 01, 2015 at 08:10:41PM +0100, Russell King - ARM Linux wrote: > On Thu, Oct 01, 2015 at 10:26:47AM -0700, Drew Richardson wrote: > > The layout of stack frames has changed over time. Testing using a > > arm-linux-gnueabi gcc-4.2 from 2007 the original code didn't work but > > this new c

Re: [PATCH] arm: perf: Fix userspace call stack walking

2015-10-01 Thread Russell King - ARM Linux
On Thu, Oct 01, 2015 at 10:26:47AM -0700, Drew Richardson wrote: > The layout of stack frames has changed over time. Testing using a > arm-linux-gnueabi gcc-4.2 from 2007 the original code didn't work but > this new code does. It also works with clang as well as newer versions > of gcc. Can you po

[PATCH] arm: perf: Fix userspace call stack walking

2015-10-01 Thread Drew Richardson
I got some undeliverable responses the first time, sorry if you get this twice --- The layout of stack frames has changed over time. Testing using a arm-linux-gnueabi gcc-4.2 from 2007 the original code didn't work but this new code does. It also works with clang as well as newer versions of gcc.