Re: perf not capturing stack traces

2015-01-26 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 26, 2015 at 01:51:23PM +, Russell King - ARM Linux escreveu: > On Mon, Jan 26, 2015 at 10:27:11AM +, Will Deacon wrote: > > On Sun, Jan 25, 2015 at 03:56:52PM +, Russell King - ARM Linux wrote: > > > On Sat, Jan 24, 2015 at 04:23:42PM -0600, Felipe Balbi wrote: > > > > yeah,

Re: perf not capturing stack traces

2015-01-26 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 26, 2015 at 01:54:06PM +, Russell King - ARM Linux escreveu: > On Mon, Jan 26, 2015 at 09:12:43AM -0300, Arnaldo Carvalho de Melo wrote: > > Em Mon, Jan 26, 2015 at 10:27:11AM +, Will Deacon escreveu: > > > FWIW, perf can now use libunwind for unwinding the userspace side of > >

Re: perf not capturing stack traces

2015-01-26 Thread Russell King - ARM Linux
On Mon, Jan 26, 2015 at 09:12:43AM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Jan 26, 2015 at 10:27:11AM +, Will Deacon escreveu: > > On Sun, Jan 25, 2015 at 03:56:52PM +, Russell King - ARM Linux wrote: > > > On Sat, Jan 24, 2015 at 04:23:42PM -0600, Felipe Balbi wrote: > > > > yeah,

Re: perf not capturing stack traces

2015-01-26 Thread Russell King - ARM Linux
On Mon, Jan 26, 2015 at 10:27:11AM +, Will Deacon wrote: > On Sun, Jan 25, 2015 at 03:56:52PM +, Russell King - ARM Linux wrote: > > On Sat, Jan 24, 2015 at 04:23:42PM -0600, Felipe Balbi wrote: > > > yeah, I'll try a few older kernels, also see if I can reproduce on other > > > boards. > >

Re: perf not capturing stack traces

2015-01-26 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 26, 2015 at 12:16:21PM +, Will Deacon escreveu: > On Mon, Jan 26, 2015 at 12:12:43PM +, Arnaldo Carvalho de Melo wrote: > > Em Mon, Jan 26, 2015 at 10:27:11AM +, Will Deacon escreveu: > > > On Sun, Jan 25, 2015 at 03:56:52PM +, Russell King - ARM Linux wrote: > > > > On

Re: perf not capturing stack traces

2015-01-26 Thread Will Deacon
On Mon, Jan 26, 2015 at 12:12:43PM +, Arnaldo Carvalho de Melo wrote: > Em Mon, Jan 26, 2015 at 10:27:11AM +, Will Deacon escreveu: > > On Sun, Jan 25, 2015 at 03:56:52PM +, Russell King - ARM Linux wrote: > > > On Sat, Jan 24, 2015 at 04:23:42PM -0600, Felipe Balbi wrote: > > > > yeah,

Re: perf not capturing stack traces

2015-01-26 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 26, 2015 at 10:27:11AM +, Will Deacon escreveu: > On Sun, Jan 25, 2015 at 03:56:52PM +, Russell King - ARM Linux wrote: > > On Sat, Jan 24, 2015 at 04:23:42PM -0600, Felipe Balbi wrote: > > > yeah, I'll try a few older kernels, also see if I can reproduce on other > > > boards.

Re: perf not capturing stack traces

2015-01-26 Thread Will Deacon
On Sun, Jan 25, 2015 at 03:56:52PM +, Russell King - ARM Linux wrote: > On Sat, Jan 24, 2015 at 04:23:42PM -0600, Felipe Balbi wrote: > > yeah, I'll try a few older kernels, also see if I can reproduce on other > > boards. > > Perf works for me with CONFIG_FRAME_POINTER=y, but that's only for

Re: perf not capturing stack traces

2015-01-25 Thread Russell King - ARM Linux
On Sat, Jan 24, 2015 at 04:23:42PM -0600, Felipe Balbi wrote: > yeah, I'll try a few older kernels, also see if I can reproduce on other > boards. Perf works for me with CONFIG_FRAME_POINTER=y, but that's only for kernel space, and for userspace where the programs have been built for ARM mode with

Re: perf not capturing stack traces

2015-01-24 Thread Felipe Balbi
Hi, On Sat, Jan 24, 2015 at 12:12:04PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Jan 23, 2015 at 04:37:45PM -0600, Felipe Balbi escreveu: > > On Fri, Jan 23, 2015 at 05:59:59PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Fri, Jan 23, 2015 at 01:51:28PM -0600, Felipe Balbi escreveu: > >

Re: perf not capturing stack traces

2015-01-24 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 23, 2015 at 04:37:45PM -0600, Felipe Balbi escreveu: > On Fri, Jan 23, 2015 at 05:59:59PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Fri, Jan 23, 2015 at 01:51:28PM -0600, Felipe Balbi escreveu: > > > I'm using v3.19-rc5 on an ARM Cortex A9 board. Unfortunately, perf is > > > not abl

Re: perf not capturing stack traces

2015-01-23 Thread Felipe Balbi
On Fri, Jan 23, 2015 at 05:59:59PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Jan 23, 2015 at 01:51:28PM -0600, Felipe Balbi escreveu: > > I'm using v3.19-rc5 on an ARM Cortex A9 board. Unfortunately, perf is > > not able to capture any stack traces even though I CONFIG_STACKTRACE, > > CONFIG

Re: perf not capturing stack traces

2015-01-23 Thread Arnaldo Carvalho de Melo
Em Fri, Jan 23, 2015 at 01:51:28PM -0600, Felipe Balbi escreveu: > I'm using v3.19-rc5 on an ARM Cortex A9 board. Unfortunately, perf is > not able to capture any stack traces even though I CONFIG_STACKTRACE, > CONFIG_FRAME_POINTER and CONFIG_ARM_UNWIND all enabled. > > I wonder if anybody else is

Re: perf not capturing stack traces

2015-01-23 Thread Felipe Balbi
Hi, On Fri, Jan 23, 2015 at 01:51:28PM -0600, Felipe Balbi wrote: > Hi, > > I'm using v3.19-rc5 on an ARM Cortex A9 board. Unfortunately, perf is > not able to capture any stack traces even though I CONFIG_STACKTRACE, > CONFIG_FRAME_POINTER and CONFIG_ARM_UNWIND all enabled. > > I wonder if anyb

perf not capturing stack traces

2015-01-23 Thread Felipe Balbi
Hi, I'm using v3.19-rc5 on an ARM Cortex A9 board. Unfortunately, perf is not able to capture any stack traces even though I CONFIG_STACKTRACE, CONFIG_FRAME_POINTER and CONFIG_ARM_UNWIND all enabled. I wonder if anybody else is facing similar issues. Here's console grab: perf record -e 'sched:*