diff options
author | Tzvetomir Stoyanov (VMware) <[email protected]> | 2020-07-21 21:16:50 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2020-08-06 09:27:33 -0300 |
commit | db885ed481b33bb4b782ca9a76841bc9ec0e2d8f (patch) | |
tree | 7afdf42aef7576a55b9afccb8e5aeb0ccf2ceaa3 | |
parent | 602e29fe078301e9832075009ac6e95c21fdf5d3 (diff) |
libtraceevent: Fixed description of tep_add_plugin_path() API
Changed the description of tep_add_plugin_path() API to reflect the
logic of the function. The suffix of plugin files is not hardcoded
to ".so", it depends on the custom plugin loader callback.
Link: https://lore.kernel.org/CAM9d7cgMgqFDvKhs6xwdBSMsaG=3ZG0RtxwgQDCTLGkML1MY4Q@mail.gmail.com
Link: https://lore.kernel.org/linux-trace-devel/[email protected]
Link: https://lore.kernel.org/linux-trace-devel/[email protected]
Suggested-by: Namhyung Kim <[email protected]>
Signed-off-by: Tzvetomir Stoyanov (VMware) <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: [email protected]
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
-rw-r--r-- | tools/lib/traceevent/event-plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/traceevent/event-plugin.c b/tools/lib/traceevent/event-plugin.c index 6b84b9c4e6ba..f0877a7e3e8d 100644 --- a/tools/lib/traceevent/event-plugin.c +++ b/tools/lib/traceevent/event-plugin.c @@ -646,8 +646,8 @@ tep_load_plugins(struct tep_handle *tep) /** * tep_add_plugin_path - Add a new plugin directory. * @tep: Trace event handler. - * @path: Path to a directory. All files with extension .so in that - * directory will be loaded as plugins. + * @path: Path to a directory. All plugin files in that + * directory will be loaded. *@prio: Load priority of the plugins in that directory. * * Returns -1 in case of an error, 0 otherwise. |