Re: MIPS Function Tracer question

2012-12-03 Thread Steven Rostedt
On Mon, 2012-12-03 at 17:13 +0100, Ralf Baechle wrote: > On Mon, Dec 03, 2012 at 09:40:48AM -0500, Steven Rostedt wrote: > > > The issue is with x86. Gcc wont compile if you have -pg and > > -fomit-frame-pointer on x86. I originally forced function tracing to > > select FRAME_POINTER, but because

Re: MIPS Function Tracer question

2012-12-03 Thread Ralf Baechle
On Mon, Dec 03, 2012 at 09:40:48AM -0500, Steven Rostedt wrote: > The issue is with x86. Gcc wont compile if you have -pg and > -fomit-frame-pointer on x86. I originally forced function tracing to > select FRAME_POINTER, but because now on x86 with -mfentry, -pg no > longer requires frame

Re: MIPS Function Tracer question

2012-12-03 Thread Steven Rostedt
On Thu, 2012-11-29 at 15:00 -0800, David Daney wrote: > On 11/29/2012 01:04 PM, Alan Cooper wrote: > > I've been doing some testing of the MIPS Function Tracer functionality > > on the 3.3 kernel. I was surprised to find that the option to generate > > frame pointers was required for tracing. > >

Re: MIPS Function Tracer question

2012-12-03 Thread Steven Rostedt
On Thu, 2012-11-29 at 15:00 -0800, David Daney wrote: On 11/29/2012 01:04 PM, Alan Cooper wrote: I've been doing some testing of the MIPS Function Tracer functionality on the 3.3 kernel. I was surprised to find that the option to generate frame pointers was required for tracing. It is

Re: MIPS Function Tracer question

2012-12-03 Thread Ralf Baechle
On Mon, Dec 03, 2012 at 09:40:48AM -0500, Steven Rostedt wrote: The issue is with x86. Gcc wont compile if you have -pg and -fomit-frame-pointer on x86. I originally forced function tracing to select FRAME_POINTER, but because now on x86 with -mfentry, -pg no longer requires frame pointers

Re: MIPS Function Tracer question

2012-12-03 Thread Steven Rostedt
On Mon, 2012-12-03 at 17:13 +0100, Ralf Baechle wrote: On Mon, Dec 03, 2012 at 09:40:48AM -0500, Steven Rostedt wrote: The issue is with x86. Gcc wont compile if you have -pg and -fomit-frame-pointer on x86. I originally forced function tracing to select FRAME_POINTER, but because now on

Re: MIPS Function Tracer question

2012-11-29 Thread David Daney
On 11/29/2012 01:04 PM, Alan Cooper wrote: I've been doing some testing of the MIPS Function Tracer functionality on the 3.3 kernel. I was surprised to find that the option to generate frame pointers was required for tracing. It is not really required for MIPS function tracing, but the

MIPS Function Tracer question

2012-11-29 Thread Alan Cooper
I've been doing some testing of the MIPS Function Tracer functionality on the 3.3 kernel. I was surprised to find that the option to generate frame pointers was required for tracing. When I don't enable FRAME_POINTER along with FUNCTION_TRACER, the kernel hangs on boot. I also noticed that a

MIPS Function Tracer question

2012-11-29 Thread Alan Cooper
I've been doing some testing of the MIPS Function Tracer functionality on the 3.3 kernel. I was surprised to find that the option to generate frame pointers was required for tracing. When I don't enable FRAME_POINTER along with FUNCTION_TRACER, the kernel hangs on boot. I also noticed that a

Re: MIPS Function Tracer question

2012-11-29 Thread David Daney
On 11/29/2012 01:04 PM, Alan Cooper wrote: I've been doing some testing of the MIPS Function Tracer functionality on the 3.3 kernel. I was surprised to find that the option to generate frame pointers was required for tracing. It is not really required for MIPS function tracing, but the