aboutsummaryrefslogtreecommitdiff
path: root/Documentation/libtraceevent-plugins.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/libtraceevent-plugins.txt')
-rw-r--r--Documentation/libtraceevent-plugins.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/libtraceevent-plugins.txt b/Documentation/libtraceevent-plugins.txt
index 24d8ad8..4ca78d4 100644
--- a/Documentation/libtraceevent-plugins.txt
+++ b/Documentation/libtraceevent-plugins.txt
@@ -3,7 +3,8 @@ libtraceevent(3)
NAME
----
-tep_load_plugins, tep_unload_plugins, tep_load_plugins_hook, tep_add_plugin_path - Load / unload traceevent plugins.
+tep_load_plugins, tep_unload_plugins, tep_load_plugins_hook, tep_add_plugin_path,
+tep_plugin_add_option - Load / unload traceevent plugins.
SYNOPSIS
--------
@@ -21,6 +22,7 @@ void *tep_load_plugins_hook*(struct tep_handle pass:[*]_tep_, const char pass:[*
void pass:[*]_data_);
int *tep_add_plugin_path*(struct tep_handle pass:[*]tep, char pass:[*]path,
enum tep_plugin_load_priority prio);
+int *tep_plugin_add_option*(const char pass:[*]_name_, const char pass:[*]_val_);
--
DESCRIPTION
@@ -76,6 +78,11 @@ plugin wins. The priority can be:
Where the plugins in TEP_PLUGIN_LAST" will take precedence over the
plugins in the other directories.
+The *tep_plugin_add_option()* sets options defined by a plugin. The _name_ is the
+name of the option to set to _val_. Plugins can add options to change its behavior
+and *tep_plugin_add_option()* is used by the application to make those modifications.
+
+
RETURN VALUE
------------
The *tep_load_plugins()* function returns a list of successfully loaded plugins,