diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2009-02-11 19:10:57 -0500 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2009-02-22 18:48:55 -0500 |
commit | fad4f47cc8b2b8f7e7d062c40c66188cdf783137 (patch) | |
tree | e0c978d7b4ffdf1ae8d7d0795c774c6fad87fdf7 /arch/powerpc/kernel/ftrace.c | |
parent | bf528a3a9bd11b6ae39684b18c9c0678f23924fd (diff) |
powerpc32, ftrace: port function graph tracer to ppc32, static only
This patch ports the function graph tracer for PowerPC, but only
for static function tracing.
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/kernel/ftrace.c')
-rw-r--r-- | arch/powerpc/kernel/ftrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/ftrace.c b/arch/powerpc/kernel/ftrace.c index 5c6dfa97e838..dddd99bbbd8d 100644 --- a/arch/powerpc/kernel/ftrace.c +++ b/arch/powerpc/kernel/ftrace.c | |||
@@ -603,7 +603,7 @@ void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr) | |||
603 | "1: " PPC_LL "%[old], 0(%[parent])\n" | 603 | "1: " PPC_LL "%[old], 0(%[parent])\n" |
604 | "2: " PPC_STL "%[return_hooker], 0(%[parent])\n" | 604 | "2: " PPC_STL "%[return_hooker], 0(%[parent])\n" |
605 | " li %[faulted], 0\n" | 605 | " li %[faulted], 0\n" |
606 | "3:" | 606 | "3:\n" |
607 | 607 | ||
608 | ".section .fixup, \"ax\"\n" | 608 | ".section .fixup, \"ax\"\n" |
609 | "4: li %[faulted], 1\n" | 609 | "4: li %[faulted], 1\n" |