@@ -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,
@@ -45,6 +45,7 @@ Trace printk parsing:
void *tep_print_funcs*(struct tep_handle pass:[*]tep);
void *tep_set_test_filters*(struct tep_handle pass:[*]tep, int test_filters);
void *tep_plugin_print_options*(struct trace_seq pass:[*]s);
+ int *tep_plugin_add_option*(const char pass:[*]_name_, const char pass:[*]_val_);
Meta data parsing:
int *tep_parse_saved_cmdlines*(struct tep_handle pass:[*]_tep_, const char pass:[*]_buf_);