diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-08-10 22:00:55 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-07-19 13:19:27 -0400 |
commit | 28fb5dfa783c25dbeeb25a72663f8066a3a517f5 (patch) | |
tree | 3628de1a477cea068c2bec91c7cebc5ae0adda33 /arch/x86/kernel/entry_32.S | |
parent | a1e2e31d175a1349274eba3465d17616c6725f8c (diff) |
ftrace/x86_32: Push ftrace_ops in as 3rd parameter to function tracer
Add support of passing the current ftrace_ops into the 3rd parameter
of the callback to the function tracer.
Link: http://lkml.kernel.org/r/20120612225424.942411318@goodmis.org
Reviewed-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'arch/x86/kernel/entry_32.S')
-rw-r--r-- | arch/x86/kernel/entry_32.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index 623f28837476..e3e17a0b7ff8 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S | |||
@@ -1111,6 +1111,7 @@ ENTRY(ftrace_caller) | |||
1111 | pushl %edx | 1111 | pushl %edx |
1112 | movl 0xc(%esp), %eax | 1112 | movl 0xc(%esp), %eax |
1113 | movl 0x4(%ebp), %edx | 1113 | movl 0x4(%ebp), %edx |
1114 | leal function_trace_op, %ecx | ||
1114 | subl $MCOUNT_INSN_SIZE, %eax | 1115 | subl $MCOUNT_INSN_SIZE, %eax |
1115 | 1116 | ||
1116 | .globl ftrace_call | 1117 | .globl ftrace_call |