diff options
| author | Tzvetomir Stoyanov (VMware) <[email protected]> | 2018-08-08 18:03:00 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-08-13 18:25:36 +0000 |
| commit | ca2921dd90268dc37cd5096eb985da4288aa7041 (patch) | |
| tree | 8e24ca63c8d8d83c548ba2df262c7ad43c3432d5 /tools/lib/traceevent/plugin_function.c | |
| parent | tools lib traceevent: Rename pevent_function* APIs (diff) | |
| download | kernel-ca2921dd90268dc37cd5096eb985da4288aa7041.tar.gz kernel-ca2921dd90268dc37cd5096eb985da4288aa7041.zip | |
tools lib traceevent, perf tools: Rename traceevent_plugin_* APIs
In order to make libtraceevent into a proper library, variables, data
structures and functions require a unique prefix to prevent name space
conflicts. That prefix will be "tep_" and not "traceevent_". This changes
APIs: traceevent_plugin_list_options, traceevent_plugin_free_options_list,
traceevent_plugin_add_options, traceevent_plugin_remove_options,
traceevent_print_plugins
Signed-off-by: Tzvetomir Stoyanov (VMware) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Yordan Karadzhov (VMware) <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Steven Rostedt <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/traceevent/plugin_function.c')
| -rw-r--r-- | tools/lib/traceevent/plugin_function.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/traceevent/plugin_function.c b/tools/lib/traceevent/plugin_function.c index 342be570ee8c..57165da1bd51 100644 --- a/tools/lib/traceevent/plugin_function.c +++ b/tools/lib/traceevent/plugin_function.c @@ -168,7 +168,7 @@ int TEP_PLUGIN_LOADER(struct tep_handle *pevent) pevent_register_event_handler(pevent, -1, "ftrace", "function", function_handler, NULL); - traceevent_plugin_add_options("ftrace", plugin_options); + tep_plugin_add_options("ftrace", plugin_options); return 0; } @@ -186,7 +186,7 @@ void TEP_PLUGIN_UNLOADER(struct tep_handle *pevent) free(fstack[i].stack); } - traceevent_plugin_remove_options(plugin_options); + tep_plugin_remove_options(plugin_options); free(fstack); fstack = NULL; |
