aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/ftrace.h12
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
109struct seq_file; 109struct seq_file;
110 110
111struct ftrace_hook_ops { 111struct 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
123extern int 123extern int
124register_ftrace_function_hook(char *glob, struct ftrace_hook_ops *ops, 124register_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops,
125 void *data); 125 void *data);
126extern void 126extern void
127unregister_ftrace_function_hook(char *glob, struct ftrace_hook_ops *ops, 127unregister_ftrace_function_probe(char *glob, struct ftrace_probe_ops *ops,
128 void *data); 128 void *data);
129extern void 129extern void
130unregister_ftrace_function_hook_func(char *glob, struct ftrace_hook_ops *ops); 130unregister_ftrace_function_probe_func(char *glob, struct ftrace_probe_ops *ops);
131extern void unregister_ftrace_function_hook_all(char *glob); 131extern void unregister_ftrace_function_probe_all(char *glob);
132 132
133enum { 133enum {
134 FTRACE_FL_FREE = (1 << 0), 134 FTRACE_FL_FREE = (1 << 0),