diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2008-10-31 04:03:22 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-31 09:29:17 (GMT) |
commit | a26a2a27396c0a0877aa701f8f92d08ba550a6c9 (patch) | |
tree | 8e314b970e0219419b89204d3197fbc1257bf36e /include/linux/ftrace.h | |
parent | b807c3d0f8e39ed7cbbbe6da162650e305e8de15 (diff) | |
download | linux-fsl-qoriq-a26a2a27396c0a0877aa701f8f92d08ba550a6c9.tar.xz |
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 703eb53..22240df 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h @@ -74,6 +74,9 @@ extern void ftrace_caller(void); extern void ftrace_call(void); extern void mcount_call(void); +/* May be defined in arch */ +extern int ftrace_arch_read_dyn_info(char *buf, int size); + /** * ftrace_modify_code - modify code segment * @ip: the address of the code segment |