diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ftrace.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 0b4f97d24d7f..9d127efed43c 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -134,6 +134,8 @@ extern void | |||
134 | unregister_ftrace_function_probe_func(char *glob, struct ftrace_probe_ops *ops); | 134 | unregister_ftrace_function_probe_func(char *glob, struct ftrace_probe_ops *ops); |
135 | extern void unregister_ftrace_function_probe_all(char *glob); | 135 | extern void unregister_ftrace_function_probe_all(char *glob); |
136 | 136 | ||
137 | extern int ftrace_text_reserved(void *start, void *end); | ||
138 | |||
137 | enum { | 139 | enum { |
138 | FTRACE_FL_FREE = (1 << 0), | 140 | FTRACE_FL_FREE = (1 << 0), |
139 | FTRACE_FL_FAILED = (1 << 1), | 141 | FTRACE_FL_FAILED = (1 << 1), |
@@ -250,6 +252,10 @@ static inline int unregister_ftrace_command(char *cmd_name) | |||
250 | { | 252 | { |
251 | return -EINVAL; | 253 | return -EINVAL; |
252 | } | 254 | } |
255 | static inline int ftrace_text_reserved(void *start, void *end) | ||
256 | { | ||
257 | return 0; | ||
258 | } | ||
253 | #endif /* CONFIG_DYNAMIC_FTRACE */ | 259 | #endif /* CONFIG_DYNAMIC_FTRACE */ |
254 | 260 | ||
255 | /* totally disable ftrace - can not re-enable after this */ | 261 | /* totally disable ftrace - can not re-enable after this */ |