Re: [PATCH] Ftrace : fix function_graph tracer OOPS

2009-10-14 Thread Steven Rostedt
On Wed, 2009-10-14 at 17:15 +1100, Benjamin Herrenschmidt wrote: > On Wed, 2009-10-14 at 11:43 +0530, Sachin Sant wrote: > > > Tested both the patches. Works fine. > > Thanks ! > > Stephen, you merge these yourself or you need me to pick them up in > -powerpc ? > Ben, You can either pull from

Re: [PATCH] Ftrace : fix function_graph tracer OOPS

2009-10-13 Thread Benjamin Herrenschmidt
On Wed, 2009-10-14 at 11:43 +0530, Sachin Sant wrote: > Tested both the patches. Works fine. Thanks ! Stephen, you merge these yourself or you need me to pick them up in -powerpc ? Cheers, Ben. ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs

Re: [PATCH] Ftrace : fix function_graph tracer OOPS

2009-10-13 Thread Sachin Sant
Steven Rostedt wrote: On Thu, 2009-10-08 at 20:21 +0530, Sachin Sant wrote: Switch to LOAD_REG_ADDR(). Signed-off-by : Sachin Sant --- diff -Naurp old/arch/powerpc/kernel/entry_64.S new/arch/powerpc/kernel/entry_64.S --- old/arch/powerpc/kernel/entry_64.S 2009-10-08 18:37:44.0 +053

Re: [PATCH] Ftrace : fix function_graph tracer OOPS

2009-10-13 Thread Steven Rostedt
On Thu, 2009-10-08 at 20:21 +0530, Sachin Sant wrote: > Switch to LOAD_REG_ADDR(). > > Signed-off-by : Sachin Sant > --- > diff -Naurp old/arch/powerpc/kernel/entry_64.S > new/arch/powerpc/kernel/entry_64.S > --- old/arch/powerpc/kernel/entry_64.S 2009-10-08 18:37:44.0 > +0530 > +++ new/

[RESEND][PATCH]Ftrace - fix function_graph tracer OOPS

2009-10-09 Thread Sachin Sant
This time sending the patch as inline and not as an attachment. Enabling function graph causes oops due to usage of LOAD_REG_IMMEDIATE(). As explained by Ben the usage of LOAD_REG_IMMEDIATE generates relocs that are not supported when CONFIG_RELOCATABLE is set. Switch to LOAD_REG_ADDR(). Signed

[PATCH] Ftrace : fix function_graph tracer OOPS

2009-10-08 Thread Sachin Sant
Enabling function graph causes oops due to usage of LOAD_REG_IMMEDIATE(). As explained by Ben the usage of LOAD_REG_IMMEDIATE generates relocs that are not supported when CONFIG_RELOCATABLE is set. Switch to LOAD_REG_ADDR(). Signed-off-by : Sachin Sant --- Enabling function graph causes oops