diff options
Diffstat (limited to 'tools/lib/traceevent/plugin_function.c')
-rw-r--r-- | tools/lib/traceevent/plugin_function.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/lib/traceevent/plugin_function.c b/tools/lib/traceevent/plugin_function.c index 57165da1bd51..50cc356124f6 100644 --- a/tools/lib/traceevent/plugin_function.c +++ b/tools/lib/traceevent/plugin_function.c | |||
@@ -165,8 +165,8 @@ static int function_handler(struct trace_seq *s, struct tep_record *record, | |||
165 | 165 | ||
166 | int TEP_PLUGIN_LOADER(struct tep_handle *pevent) | 166 | int TEP_PLUGIN_LOADER(struct tep_handle *pevent) |
167 | { | 167 | { |
168 | pevent_register_event_handler(pevent, -1, "ftrace", "function", | 168 | tep_register_event_handler(pevent, -1, "ftrace", "function", |
169 | function_handler, NULL); | 169 | function_handler, NULL); |
170 | 170 | ||
171 | tep_plugin_add_options("ftrace", plugin_options); | 171 | tep_plugin_add_options("ftrace", plugin_options); |
172 | 172 | ||
@@ -177,8 +177,8 @@ void TEP_PLUGIN_UNLOADER(struct tep_handle *pevent) | |||
177 | { | 177 | { |
178 | int i, x; | 178 | int i, x; |
179 | 179 | ||
180 | pevent_unregister_event_handler(pevent, -1, "ftrace", "function", | 180 | tep_unregister_event_handler(pevent, -1, "ftrace", "function", |
181 | function_handler, NULL); | 181 | function_handler, NULL); |
182 | 182 | ||
183 | for (i = 0; i <= cpus; i++) { | 183 | for (i = 0; i <= cpus; i++) { |
184 | for (x = 0; x < fstack[i].size && fstack[i].stack[x]; x++) | 184 | for (x = 0; x < fstack[i].size && fstack[i].stack[x]; x++) |