diff options
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r-- | include/linux/ftrace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index fc2d54987198..f9792c0d73f6 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -117,6 +117,11 @@ extern void ftrace_call(void); | |||
117 | extern void mcount_call(void); | 117 | extern void mcount_call(void); |
118 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER | 118 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER |
119 | extern void ftrace_graph_caller(void); | 119 | extern void ftrace_graph_caller(void); |
120 | extern int ftrace_enable_ftrace_graph_caller(void); | ||
121 | extern int ftrace_disable_ftrace_graph_caller(void); | ||
122 | #else | ||
123 | static inline int ftrace_enable_ftrace_graph_caller(void) { return 0; } | ||
124 | static inline int ftrace_disable_ftrace_graph_caller(void) { return 0; } | ||
120 | #endif | 125 | #endif |
121 | 126 | ||
122 | /** | 127 | /** |