Skip to content

Commit db885ed

Browse files
tzstoyanovacmel
authored andcommitted
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]>
1 parent 602e29f commit db885ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/lib/traceevent/event-plugin.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -646,8 +646,8 @@ tep_load_plugins(struct tep_handle *tep)
646646
/**
647647
* tep_add_plugin_path - Add a new plugin directory.
648648
* @tep: Trace event handler.
649-
* @path: Path to a directory. All files with extension .so in that
650-
* directory will be loaded as plugins.
649+
* @path: Path to a directory. All plugin files in that
650+
* directory will be loaded.
651651
*@prio: Load priority of the plugins in that directory.
652652
*
653653
* Returns -1 in case of an error, 0 otherwise.

0 commit comments

Comments
 (0)