diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-05-12 19:20:44 (GMT) |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 18:40:29 (GMT) |
commit | e1c08bdd9fa73e44096e5a82c0d5928b04ab02c8 (patch) | |
tree | eb2c642f9b7b5e222f1635e138c6072b0799f37b /include | |
parent | 57f50be14d57b0dbf88dd019e7bb0ff3a3dc7b81 (diff) | |
download | linux-fsl-qoriq-e1c08bdd9fa73e44096e5a82c0d5928b04ab02c8.tar.xz |
ftrace: force recording
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ftrace.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index a42390c..2c1670c 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h @@ -54,6 +54,8 @@ struct dyn_ftrace { unsigned long flags; }; +int ftrace_force_update(void); + /* defined in arch */ extern int ftrace_ip_converted(unsigned long ip); extern unsigned char *ftrace_nop_replace(void); @@ -66,6 +68,8 @@ extern int ftrace_update_ftrace_func(ftrace_func_t func); extern void ftrace_caller(void); extern void ftrace_call(void); extern void mcount_call(void); +#else +# define ftrace_force_update() do { } while (0) #endif static inline void tracer_disable(void) |