aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/ftrace.h2
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);
178extern int 178extern 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)));
181extern void ftrace_dump(void);
181#else 182#else
182static inline void 183static inline void
183ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } 184ftrace_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}
190static inline void ftrace_dump(void) { }
189#endif 191#endif
190 192
191#ifdef CONFIG_FTRACE_MCOUNT_RECORD 193#ifdef CONFIG_FTRACE_MCOUNT_RECORD