diff options
Diffstat (limited to 'include/linux/ftrace.h')
-rw-r--r-- | include/linux/ftrace.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 9f15c0064c50..31ea4b428360 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -533,11 +533,11 @@ static inline int ftrace_force_update(void) { return 0; } | |||
533 | static inline void ftrace_disable_daemon(void) { } | 533 | static inline void ftrace_disable_daemon(void) { } |
534 | static inline void ftrace_enable_daemon(void) { } | 534 | static inline void ftrace_enable_daemon(void) { } |
535 | static inline void ftrace_release_mod(struct module *mod) {} | 535 | static inline void ftrace_release_mod(struct module *mod) {} |
536 | static inline int register_ftrace_command(struct ftrace_func_command *cmd) | 536 | static inline __init int register_ftrace_command(struct ftrace_func_command *cmd) |
537 | { | 537 | { |
538 | return -EINVAL; | 538 | return -EINVAL; |
539 | } | 539 | } |
540 | static inline int unregister_ftrace_command(char *cmd_name) | 540 | static inline __init int unregister_ftrace_command(char *cmd_name) |
541 | { | 541 | { |
542 | return -EINVAL; | 542 | return -EINVAL; |
543 | } | 543 | } |
@@ -721,6 +721,7 @@ ftrace_push_return_trace(unsigned long ret, unsigned long func, int *depth, | |||
721 | extern char __irqentry_text_start[]; | 721 | extern char __irqentry_text_start[]; |
722 | extern char __irqentry_text_end[]; | 722 | extern char __irqentry_text_end[]; |
723 | 723 | ||
724 | #define FTRACE_NOTRACE_DEPTH 65536 | ||
724 | #define FTRACE_RETFUNC_DEPTH 50 | 725 | #define FTRACE_RETFUNC_DEPTH 50 |
725 | #define FTRACE_RETSTACK_ALLOC_SIZE 32 | 726 | #define FTRACE_RETSTACK_ALLOC_SIZE 32 |
726 | extern int register_ftrace_graph(trace_func_graph_ret_t retfunc, | 727 | extern int register_ftrace_graph(trace_func_graph_ret_t retfunc, |