diff options
Diffstat (limited to 'kernel/trace/trace.h')
| -rw-r--r-- | kernel/trace/trace.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 291a1bca5748..39fd77330aab 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
| @@ -980,6 +980,7 @@ register_ftrace_function_probe(char *glob, struct trace_array *tr, | |||
| 980 | extern int | 980 | extern int |
| 981 | unregister_ftrace_function_probe_func(char *glob, struct trace_array *tr, | 981 | unregister_ftrace_function_probe_func(char *glob, struct trace_array *tr, |
| 982 | struct ftrace_probe_ops *ops); | 982 | struct ftrace_probe_ops *ops); |
| 983 | extern void clear_ftrace_function_probes(struct trace_array *tr); | ||
| 983 | 984 | ||
| 984 | int register_ftrace_command(struct ftrace_func_command *cmd); | 985 | int register_ftrace_command(struct ftrace_func_command *cmd); |
| 985 | int unregister_ftrace_command(struct ftrace_func_command *cmd); | 986 | int unregister_ftrace_command(struct ftrace_func_command *cmd); |
| @@ -998,6 +999,10 @@ static inline __init int unregister_ftrace_command(char *cmd_name) | |||
| 998 | { | 999 | { |
| 999 | return -EINVAL; | 1000 | return -EINVAL; |
| 1000 | } | 1001 | } |
| 1002 | static inline void clear_ftrace_function_probes(struct trace_array *tr) | ||
| 1003 | { | ||
| 1004 | } | ||
| 1005 | |||
| 1001 | /* | 1006 | /* |
| 1002 | * The ops parameter passed in is usually undefined. | 1007 | * The ops parameter passed in is usually undefined. |
| 1003 | * This must be a macro. | 1008 | * This must be a macro. |
