Re: [PATCH] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS

2017-05-23 Thread Russell King - ARM Linux
On Fri, May 12, 2017 at 10:06:47PM +0100, Abel Vesa wrote: > The DYNAMIC_FTRACE_WITH_REGS configuration makes it possible for a ftrace > operation to specify if registers need to saved/restored by the ftrace > handler. > This is needed by kgraft and possibly other ftrace-based tools, and the ARM >

[PATCH] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS

2017-05-12 Thread Abel Vesa
The DYNAMIC_FTRACE_WITH_REGS configuration makes it possible for a ftrace operation to specify if registers need to saved/restored by the ftrace handler. This is needed by kgraft and possibly other ftrace-based tools, and the ARM architecture is currently lacking this feature. It would also be the

Re: [PATCH] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS

2017-05-12 Thread Abel Vesa
On Fri, May 12, 2017 at 09:38:37PM +0100, abelv...@gmail.com wrote: > From: Abel Vesa To be ignored, wrong git config. Will send another one without the From line. > > The DYNAMIC_FTRACE_WITH_REGS configuration makes it possible for a ftrace > operation to specify if registers need to saved/resto

[PATCH] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS

2017-05-12 Thread abelvesa
From: Abel Vesa The DYNAMIC_FTRACE_WITH_REGS configuration makes it possible for a ftrace operation to specify if registers need to saved/restored by the ftrace handler. This is needed by kgraft and possibly other ftrace-based tools, and the ARM architecture is currently lacking this feature. It

Re: [PATCH] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS

2017-01-23 Thread Abel Vesa
Hi Jean-Jacques, Here is the implementation I've made for ftrace_graph_regs_caller: .macro __ftrace_graph_regs_caller sub r0, fp, #4 @ lr of instrumented routine (parent) @ called from __ftrace_regs_caller ldr r1, [sp, #56]

Re: [PATCH] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS

2017-01-13 Thread Jean-Jacques Hiblot
2017-01-12 15:30 GMT+01:00 Jean-Jacques Hiblot : > 2017-01-12 1:19 GMT+01:00 Abel Vesa : >> On Tue, Jan 10, 2017 at 04:51:12PM +0100, Petr Mladek wrote: >>> On Thu 2016-12-08 22:46:55, Abel Vesa wrote: >>> > On Thu, Dec 08, 2016 at 09:46:35PM +, Abel Vesa wrote: >>> > > From: Jean-Jacques Hiblo

Re: [PATCH] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS

2017-01-12 Thread Jean-Jacques Hiblot
2017-01-12 1:19 GMT+01:00 Abel Vesa : > On Tue, Jan 10, 2017 at 04:51:12PM +0100, Petr Mladek wrote: >> On Thu 2016-12-08 22:46:55, Abel Vesa wrote: >> > On Thu, Dec 08, 2016 at 09:46:35PM +, Abel Vesa wrote: >> > > From: Jean-Jacques Hiblot >> > > >> > > From: Jean-Jacques Hiblot >> > >> > >

Re: [PATCH] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS

2017-01-11 Thread Abel Vesa
On Tue, Jan 10, 2017 at 04:51:12PM +0100, Petr Mladek wrote: > On Thu 2016-12-08 22:46:55, Abel Vesa wrote: > > On Thu, Dec 08, 2016 at 09:46:35PM +, Abel Vesa wrote: > > > From: Jean-Jacques Hiblot > > > > > > From: Jean-Jacques Hiblot > > > > >From statement twice in the commit message. W

Re: [PATCH] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS

2017-01-10 Thread Petr Mladek
On Thu 2016-12-08 22:46:55, Abel Vesa wrote: > On Thu, Dec 08, 2016 at 09:46:35PM +, Abel Vesa wrote: > > From: Jean-Jacques Hiblot > > > > From: Jean-Jacques Hiblot > > >From statement twice in the commit message. Will resend. > > > > The DYNAMIC_FTRACE_WITH_REGS configuration makes it po

[PATCH] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS

2016-12-08 Thread Abel Vesa
From: Jean-Jacques Hiblot The DYNAMIC_FTRACE_WITH_REGS configuration makes it possible for a ftrace operation to specify if registers need to saved/restored by the ftrace handler. This is needed by kgraft and possibly other ftrace-based tools, and the ARM architecture is currently lacking this fe

Re: [PATCH] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS

2016-12-08 Thread Abel Vesa
On Thu, Dec 08, 2016 at 09:46:35PM +, Abel Vesa wrote: > From: Jean-Jacques Hiblot > > From: Jean-Jacques Hiblot >From statement twice in the commit message. Will resend. > > The DYNAMIC_FTRACE_WITH_REGS configuration makes it possible for a ftrace > operation to specify if registers need

[PATCH] arm: ftrace: Adds support for CONFIG_DYNAMIC_FTRACE_WITH_REGS

2016-12-08 Thread Abel Vesa
From: Jean-Jacques Hiblot From: Jean-Jacques Hiblot The DYNAMIC_FTRACE_WITH_REGS configuration makes it possible for a ftrace operation to specify if registers need to saved/restored by the ftrace handler. This is needed by kgraft and possibly other ftrace-based tools, and the ARM architecture