summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/ftrace.h
diff options
context:
space:
mode:
authorSteven Rostedt2011-08-11 04:00:55 +0200
committerSteven Rostedt2012-07-19 19:19:27 +0200
commit28fb5dfa783c25dbeeb25a72663f8066a3a517f5 (patch)
tree3628de1a477cea068c2bec91c7cebc5ae0adda33 /arch/x86/include/asm/ftrace.h
parentftrace: Return pt_regs to function trace callback (diff)
downloadkernel-qcow2-linux-28fb5dfa783c25dbeeb25a72663f8066a3a517f5.tar.gz
kernel-qcow2-linux-28fb5dfa783c25dbeeb25a72663f8066a3a517f5.tar.xz
kernel-qcow2-linux-28fb5dfa783c25dbeeb25a72663f8066a3a517f5.zip
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/include/asm/ftrace.h')
-rw-r--r--arch/x86/include/asm/ftrace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/ftrace.h b/arch/x86/include/asm/ftrace.h
index 783b107eacbc..b3bb1f3f2773 100644
--- a/arch/x86/include/asm/ftrace.h
+++ b/arch/x86/include/asm/ftrace.h
@@ -32,7 +32,7 @@
#define MCOUNT_ADDR ((long)(mcount))
#define MCOUNT_INSN_SIZE 5 /* sizeof mcount call */
-#if defined(CONFIG_DYNAMIC_FTRACE) && defined(CONFIG_X86_64)
+#ifdef CONFIG_DYNAMIC_FTRACE
#define ARCH_SUPPORTS_FTRACE_OPS 1
#endif