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 b482fe88bc04..623819433ed5 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -72,9 +72,15 @@ extern int ftrace_update_ftrace_func(ftrace_func_t func);
72extern void ftrace_caller(void); 72extern void ftrace_caller(void);
73extern void ftrace_call(void); 73extern void ftrace_call(void);
74extern void mcount_call(void); 74extern void mcount_call(void);
75
76void ftrace_disable_daemon(void);
77void ftrace_enable_daemon(void);
78
75#else 79#else
76# define ftrace_force_update() ({ 0; }) 80# define ftrace_force_update() ({ 0; })
77# define ftrace_set_filter(buf, len, reset) do { } while (0) 81# define ftrace_set_filter(buf, len, reset) do { } while (0)
82# define ftrace_disable_daemon() do { } while (0)
83# define ftrace_enable_daemon() do { } while (0)
78#endif 84#endif
79 85
80/* totally disable ftrace - can not re-enable after this */ 86/* totally disable ftrace - can not re-enable after this */