aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2008-05-12 15:20:44 -0400
committerThomas Gleixner <tglx@linutronix.de>2008-05-23 14:40:29 -0400
commite1c08bdd9fa73e44096e5a82c0d5928b04ab02c8 (patch)
treeeb2c642f9b7b5e222f1635e138c6072b0799f37b /include/linux/ftrace.h
parent57f50be14d57b0dbf88dd019e7bb0ff3a3dc7b81 (diff)
ftrace: force recording
Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r--include/linux/ftrace.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index a42390c1d6e1..2c1670c65236 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -54,6 +54,8 @@ struct dyn_ftrace {
54 unsigned long flags; 54 unsigned long flags;
55}; 55};
56 56
57int ftrace_force_update(void);
58
57/* defined in arch */ 59/* defined in arch */
58extern int ftrace_ip_converted(unsigned long ip); 60extern int ftrace_ip_converted(unsigned long ip);
59extern unsigned char *ftrace_nop_replace(void); 61extern unsigned char *ftrace_nop_replace(void);
@@ -66,6 +68,8 @@ extern int ftrace_update_ftrace_func(ftrace_func_t func);
66extern void ftrace_caller(void); 68extern void ftrace_caller(void);
67extern void ftrace_call(void); 69extern void ftrace_call(void);
68extern void mcount_call(void); 70extern void mcount_call(void);
71#else
72# define ftrace_force_update() do { } while (0)
69#endif 73#endif
70 74
71static inline void tracer_disable(void) 75static inline void tracer_disable(void)