diff options
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r-- | include/linux/ftrace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 018af16bce5c..f7fb92045bf0 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -178,6 +178,7 @@ ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3); | |||
178 | extern int | 178 | extern int |
179 | __ftrace_printk(unsigned long ip, const char *fmt, ...) | 179 | __ftrace_printk(unsigned long ip, const char *fmt, ...) |
180 | __attribute__ ((format (printf, 2, 3))); | 180 | __attribute__ ((format (printf, 2, 3))); |
181 | extern void ftrace_dump(void); | ||
181 | #else | 182 | #else |
182 | static inline void | 183 | static inline void |
183 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } | 184 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } |
@@ -186,6 +187,7 @@ ftrace_printk(const char *fmt, ...) __attribute__ ((format (printf, 1, 0))) | |||
186 | { | 187 | { |
187 | return 0; | 188 | return 0; |
188 | } | 189 | } |
190 | static inline void ftrace_dump(void) { } | ||
189 | #endif | 191 | #endif |
190 | 192 | ||
191 | #ifdef CONFIG_FTRACE_MCOUNT_RECORD | 193 | #ifdef CONFIG_FTRACE_MCOUNT_RECORD |