Re: [PATCH v2] ftrace/x86: Load ftrace_ops in parameter not the variable holding it

2014-01-07 Thread Steven Rostedt
On Wed, 13 Nov 2013 13:06:33 -0800 "H. Peter Anvin" wrote: > On 11/13/2013 12:20 PM, Steven Rostedt wrote: > > > > Function tracing callbacks expect to have the ftrace_ops that registered it > > passed to them, not the address of the variable that holds the ftrace_ops > > that registered it. > >

Re: [PATCH v2] ftrace/x86: Load ftrace_ops in parameter not the variable holding it

2013-11-13 Thread Masami Hiramatsu
(2013/11/14 5:20), Steven Rostedt wrote: > > Function tracing callbacks expect to have the ftrace_ops that registered it > passed to them, not the address of the variable that holds the ftrace_ops > that registered it. > > Use a mov instead of a lea to store the ftrace_ops into the parameter > of

Re: [PATCH v2] ftrace/x86: Load ftrace_ops in parameter not the variable holding it

2013-11-13 Thread Steven Rostedt
On Wed, 13 Nov 2013 13:06:33 -0800 "H. Peter Anvin" wrote: > On 11/13/2013 12:20 PM, Steven Rostedt wrote: > > > > Function tracing callbacks expect to have the ftrace_ops that registered it > > passed to them, not the address of the variable that holds the ftrace_ops > > that registered it. > >

Re: [PATCH v2] ftrace/x86: Load ftrace_ops in parameter not the variable holding it

2013-11-13 Thread H. Peter Anvin
On 11/13/2013 12:20 PM, Steven Rostedt wrote: > > Function tracing callbacks expect to have the ftrace_ops that registered it > passed to them, not the address of the variable that holds the ftrace_ops > that registered it. > > Use a mov instead of a lea to store the ftrace_ops into the parameter

[PATCH v2] ftrace/x86: Load ftrace_ops in parameter not the variable holding it

2013-11-13 Thread Steven Rostedt
Function tracing callbacks expect to have the ftrace_ops that registered it passed to them, not the address of the variable that holds the ftrace_ops that registered it. Use a mov instead of a lea to store the ftrace_ops into the parameter of the function tracing callback. Signed-off-by: Steven