aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2008-10-31 00:03:22 -0400
committerIngo Molnar <mingo@elte.hu>2008-10-31 10:29:17 +0100
commita26a2a27396c0a0877aa701f8f92d08ba550a6c9 (patch)
tree8e314b970e0219419b89204d3197fbc1257bf36e /include/linux/ftrace.h
parentb807c3d0f8e39ed7cbbbe6da162650e305e8de15 (diff)
downloadkernel_samsung_smdk4412-a26a2a27396c0a0877aa701f8f92d08ba550a6c9.zip
kernel_samsung_smdk4412-a26a2a27396c0a0877aa701f8f92d08ba550a6c9.tar.gz
kernel_samsung_smdk4412-a26a2a27396c0a0877aa701f8f92d08ba550a6c9.tar.bz2
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.h3
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