aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/entry_32.S
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2008-12-02 15:34:09 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-03 02:56:22 -0500
commitbb4304c71c97bf727ec43cd2f195c2c237c27fd3 (patch)
tree91de689ca21951fd49935798fb19148763e3424f /arch/x86/kernel/entry_32.S
parent347fdd9dd4e5d3f3a4e415925c35bdff1d59c3a9 (diff)
ftrace: have function graph use mcount caller address
Impact: consistency change for function graph This patch makes function graph record the mcount caller address the same way the function tracer does. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/entry_32.S')
-rw-r--r--arch/x86/kernel/entry_32.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S
index 958af86186c4..826682abed1d 100644
--- a/arch/x86/kernel/entry_32.S
+++ b/arch/x86/kernel/entry_32.S
@@ -1230,6 +1230,7 @@ ENTRY(ftrace_graph_caller)
1230 pushl %edx 1230 pushl %edx
1231 movl 0xc(%esp), %edx 1231 movl 0xc(%esp), %edx
1232 lea 0x4(%ebp), %eax 1232 lea 0x4(%ebp), %eax
1233 subl $MCOUNT_INSN_SIZE, %edx
1233 call prepare_ftrace_return 1234 call prepare_ftrace_return
1234 popl %edx 1235 popl %edx
1235 popl %ecx 1236 popl %ecx