diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-05-12 15:20:49 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 14:55:33 -0400 |
commit | aeaee8a2c9cb4489f166ca0e39c568e8254faaa6 (patch) | |
tree | 1b817104f60dc06c1bdd3f5e4e0bed5ee86e780e | |
parent | 2577046740fe6d77864128c6187c11125c2449ea (diff) |
ftrace: build fix
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r-- | include/linux/ftrace.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 4650a3160b7f..08fbef1744cc 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -58,9 +58,6 @@ struct dyn_ftrace { | |||
58 | int ftrace_force_update(void); | 58 | int ftrace_force_update(void); |
59 | void ftrace_set_filter(unsigned char *buf, int len, int reset); | 59 | void ftrace_set_filter(unsigned char *buf, int len, int reset); |
60 | 60 | ||
61 | /* totally disable ftrace - can not re-enable after this */ | ||
62 | void ftrace_kill(void); | ||
63 | |||
64 | /* defined in arch */ | 61 | /* defined in arch */ |
65 | extern int ftrace_ip_converted(unsigned long ip); | 62 | extern int ftrace_ip_converted(unsigned long ip); |
66 | extern unsigned char *ftrace_nop_replace(void); | 63 | extern unsigned char *ftrace_nop_replace(void); |
@@ -74,10 +71,13 @@ extern void ftrace_caller(void); | |||
74 | extern void ftrace_call(void); | 71 | extern void ftrace_call(void); |
75 | extern void mcount_call(void); | 72 | extern void mcount_call(void); |
76 | #else | 73 | #else |
77 | # define ftrace_force_update() ({ 0; }) | 74 | # define ftrace_force_update() ({ 0; }) |
78 | # define ftrace_set_filter(buf, len, reset) do { } while (0) | 75 | # define ftrace_set_filter(buf, len, reset) do { } while (0) |
79 | #endif | 76 | #endif |
80 | 77 | ||
78 | /* totally disable ftrace - can not re-enable after this */ | ||
79 | void ftrace_kill(void); | ||
80 | |||
81 | static inline void tracer_disable(void) | 81 | static inline void tracer_disable(void) |
82 | { | 82 | { |
83 | #ifdef CONFIG_FTRACE | 83 | #ifdef CONFIG_FTRACE |