diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-10-31 00:03:22 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-31 05:29:17 -0400 |
commit | a26a2a27396c0a0877aa701f8f92d08ba550a6c9 (patch) | |
tree | 8e314b970e0219419b89204d3197fbc1257bf36e /include/linux/ftrace.h | |
parent | b807c3d0f8e39ed7cbbbe6da162650e305e8de15 (diff) |
ftrace: nmi safe code clean ups
Impact: cleanup
This patch cleans up the NMI safe code for dynamic ftrace as suggested
by Andrew Morton.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r-- | include/linux/ftrace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 703eb53cfa2b..22240dfe912e 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -74,6 +74,9 @@ extern void ftrace_caller(void); | |||
74 | extern void ftrace_call(void); | 74 | extern void ftrace_call(void); |
75 | extern void mcount_call(void); | 75 | extern void mcount_call(void); |
76 | 76 | ||
77 | /* May be defined in arch */ | ||
78 | extern int ftrace_arch_read_dyn_info(char *buf, int size); | ||
79 | |||
77 | /** | 80 | /** |
78 | * ftrace_modify_code - modify code segment | 81 | * ftrace_modify_code - modify code segment |
79 | * @ip: the address of the code segment | 82 | * @ip: the address of the code segment |