diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ftrace.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 63281228ce3e..9d224c43e634 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -108,7 +108,7 @@ struct ftrace_func_command { | |||
108 | 108 | ||
109 | struct seq_file; | 109 | struct seq_file; |
110 | 110 | ||
111 | struct ftrace_hook_ops { | 111 | struct ftrace_probe_ops { |
112 | void (*func)(unsigned long ip, | 112 | void (*func)(unsigned long ip, |
113 | unsigned long parent_ip, | 113 | unsigned long parent_ip, |
114 | void **data); | 114 | void **data); |
@@ -116,19 +116,19 @@ struct ftrace_hook_ops { | |||
116 | void (*free)(void **data); | 116 | void (*free)(void **data); |
117 | int (*print)(struct seq_file *m, | 117 | int (*print)(struct seq_file *m, |
118 | unsigned long ip, | 118 | unsigned long ip, |
119 | struct ftrace_hook_ops *ops, | 119 | struct ftrace_probe_ops *ops, |
120 | void *data); | 120 | void *data); |
121 | }; | 121 | }; |
122 | 122 | ||
123 | extern int | 123 | extern int |
124 | register_ftrace_function_hook(char *glob, struct ftrace_hook_ops *ops, | 124 | register_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops, |
125 | void *data); | 125 | void *data); |
126 | extern void | 126 | extern void |
127 | unregister_ftrace_function_hook(char *glob, struct ftrace_hook_ops *ops, | 127 | unregister_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops, |
128 | void *data); | 128 | void *data); |
129 | extern void | 129 | extern void |
130 | unregister_ftrace_function_hook_func(char *glob, struct ftrace_hook_ops *ops); | 130 | unregister_ftrace_function_probe_func(char *glob, struct ftrace_probe_ops *ops); |
131 | extern void unregister_ftrace_function_hook_all(char *glob); | 131 | extern void unregister_ftrace_function_probe_all(char *glob); |
132 | 132 | ||
133 | enum { | 133 | enum { |
134 | FTRACE_FL_FREE = (1 << 0), | 134 | FTRACE_FL_FREE = (1 << 0), |