diff options
Diffstat (limited to 'tools/lib/traceevent/plugin_function.c')
-rw-r--r-- | tools/lib/traceevent/plugin_function.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/lib/traceevent/plugin_function.c b/tools/lib/traceevent/plugin_function.c index 86b5bb9bf22c..342be570ee8c 100644 --- a/tools/lib/traceevent/plugin_function.c +++ b/tools/lib/traceevent/plugin_function.c | |||
@@ -33,7 +33,7 @@ static int cpus = -1; | |||
33 | 33 | ||
34 | #define STK_BLK 10 | 34 | #define STK_BLK 10 |
35 | 35 | ||
36 | struct pevent_plugin_option plugin_options[] = | 36 | struct tep_plugin_option plugin_options[] = |
37 | { | 37 | { |
38 | { | 38 | { |
39 | .name = "parent", | 39 | .name = "parent", |
@@ -53,8 +53,8 @@ struct pevent_plugin_option plugin_options[] = | |||
53 | } | 53 | } |
54 | }; | 54 | }; |
55 | 55 | ||
56 | static struct pevent_plugin_option *ftrace_parent = &plugin_options[0]; | 56 | static struct tep_plugin_option *ftrace_parent = &plugin_options[0]; |
57 | static struct pevent_plugin_option *ftrace_indent = &plugin_options[1]; | 57 | static struct tep_plugin_option *ftrace_indent = &plugin_options[1]; |
58 | 58 | ||
59 | static void add_child(struct func_stack *stack, const char *child, int pos) | 59 | static void add_child(struct func_stack *stack, const char *child, int pos) |
60 | { | 60 | { |
@@ -163,7 +163,7 @@ static int function_handler(struct trace_seq *s, struct tep_record *record, | |||
163 | return 0; | 163 | return 0; |
164 | } | 164 | } |
165 | 165 | ||
166 | int PEVENT_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 | pevent_register_event_handler(pevent, -1, "ftrace", "function", |
169 | function_handler, NULL); | 169 | function_handler, NULL); |
@@ -173,7 +173,7 @@ int PEVENT_PLUGIN_LOADER(struct tep_handle *pevent) | |||
173 | return 0; | 173 | return 0; |
174 | } | 174 | } |
175 | 175 | ||
176 | void PEVENT_PLUGIN_UNLOADER(struct tep_handle *pevent) | 176 | void TEP_PLUGIN_UNLOADER(struct tep_handle *pevent) |
177 | { | 177 | { |
178 | int i, x; | 178 | int i, x; |
179 | 179 | ||