Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb4304c7 authored by Steven Rostedt's avatar Steven Rostedt Committed by Ingo Molnar
Browse files

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: default avatarSteven Rostedt <srostedt@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 347fdd9d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1230,6 +1230,7 @@ ENTRY(ftrace_graph_caller)
	pushl %edx
	movl 0xc(%esp), %edx
	lea 0x4(%ebp), %eax
	subl $MCOUNT_INSN_SIZE, %edx
	call prepare_ftrace_return
	popl %edx
	popl %ecx
+1 −0
Original line number Diff line number Diff line
@@ -173,6 +173,7 @@ ENTRY(ftrace_graph_caller)

	leaq 8(%rbp), %rdi
	movq 0x38(%rsp), %rsi
	subq $MCOUNT_INSN_SIZE, %rsi

	call	prepare_ftrace_return