diff options
author | Steven Rostedt <srostedt@redhat.com> | 2012-06-05 20:00:11 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2012-07-19 13:20:37 -0400 |
commit | 4de72395ff4cf48e23b61986dbc90b99a7c4ed97 (patch) | |
tree | f2734ebdb6c7601c39fe4952f54d97f4aec34741 /arch/x86/include | |
parent | 08f6fba503111e0336f2b4d6915a4a18f9b60e51 (diff) |
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')
-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 @@ | |||
40 | 40 | ||
41 | #ifdef CONFIG_DYNAMIC_FTRACE | 41 | #ifdef CONFIG_DYNAMIC_FTRACE |
42 | #define ARCH_SUPPORTS_FTRACE_OPS 1 | 42 | #define ARCH_SUPPORTS_FTRACE_OPS 1 |
43 | #ifdef CONFIG_X86_64 | ||
44 | #define ARCH_SUPPORTS_FTRACE_SAVE_REGS | 43 | #define ARCH_SUPPORTS_FTRACE_SAVE_REGS |
45 | #endif | 44 | #endif |
46 | #endif | ||
47 | 45 | ||
48 | #ifndef __ASSEMBLY__ | 46 | #ifndef __ASSEMBLY__ |
49 | extern void mcount(void); | 47 | extern void mcount(void); |