diff options
Diffstat (limited to 'include/linux/ftrace.h')
-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 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 | ||
57 | int ftrace_force_update(void); | ||
58 | |||
57 | /* defined in arch */ | 59 | /* defined in arch */ |
58 | extern int ftrace_ip_converted(unsigned long ip); | 60 | extern int ftrace_ip_converted(unsigned long ip); |
59 | extern unsigned char *ftrace_nop_replace(void); | 61 | extern unsigned char *ftrace_nop_replace(void); |
@@ -66,6 +68,8 @@ extern int ftrace_update_ftrace_func(ftrace_func_t func); | |||
66 | extern void ftrace_caller(void); | 68 | extern void ftrace_caller(void); |
67 | extern void ftrace_call(void); | 69 | extern void ftrace_call(void); |
68 | extern void mcount_call(void); | 70 | extern void mcount_call(void); |
71 | #else | ||
72 | # define ftrace_force_update() do { } while (0) | ||
69 | #endif | 73 | #endif |
70 | 74 | ||
71 | static inline void tracer_disable(void) | 75 | static inline void tracer_disable(void) |