diff options
author | Steven Rostedt <srostedt@redhat.com> | 2012-06-06 04:00:11 +0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-07-19 21:20:37 +0400 |
commit | 4de72395ff4cf48e23b61986dbc90b99a7c4ed97 (patch) | |
tree | f2734ebdb6c7601c39fe4952f54d97f4aec34741 /arch/x86/include/asm/ftrace.h | |
parent | 08f6fba503111e0336f2b4d6915a4a18f9b60e51 (diff) | |
download | linux-4de72395ff4cf48e23b61986dbc90b99a7c4ed97.tar.xz |
ftrace/x86: Add save_regs for i386 function calls
Add saving full regs for function tracing on i386.
The saving of regs was influenced by patches sent out by
Masami Hiramatsu.
Link: Link: http://lkml.kernel.org/r/20120711195745.379060003@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.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/ftrace.h b/arch/x86/include/asm/ftrace.h index a8475014c4ad..a6cae0c1720c 100644 --- a/arch/x86/include/asm/ftrace.h +++ b/arch/x86/include/asm/ftrace.h @@ -40,10 +40,8 @@ #ifdef CONFIG_DYNAMIC_FTRACE #define ARCH_SUPPORTS_FTRACE_OPS 1 -#ifdef CONFIG_X86_64 #define ARCH_SUPPORTS_FTRACE_SAVE_REGS #endif -#endif #ifndef __ASSEMBLY__ extern void mcount(void); |