aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ftrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r--include/linux/ftrace.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index bb384068272e..d4d6ab453b78 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -162,4 +162,10 @@ static inline void
162ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } 162ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { }
163#endif 163#endif
164 164
165#ifdef CONFIG_FTRACE_MCOUNT_RECORD
166extern void ftrace_init(void);
167#else
168static inline void ftrace_init(void) { }
169#endif
170
165#endif /* _LINUX_FTRACE_H */ 171#endif /* _LINUX_FTRACE_H */