aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/traceevent/plugin_function.c
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2014-06-03 18:41:54 -0400
committerJiri Olsa <jolsa@kernel.org>2014-06-07 23:33:36 +0200
commit5827f2faabe40cc285cc67b697277547a19b6c9a (patch)
tree92396ee4eca5ac380cb23db6499137b8d5e454ad /tools/lib/traceevent/plugin_function.c
parenttools lib traceevent: Add flag to not load event plugins (diff)
downloadlinux-dev-5827f2faabe40cc285cc67b697277547a19b6c9a.tar.xz
linux-dev-5827f2faabe40cc285cc67b697277547a19b6c9a.zip
tools lib traceevent: Add options to plugins
The traceevent plugins allows developers to have their events print out information that is more advanced than what can be achieved by the trace event format files. As these plugins are used on the userspace side of the tracing tools, it is only logical that the tools should be able to produce different types of output for the events. The types of events still need to be defined by the plugins thus we need a way to pass information from the tool to the plugin to specify what type of information to be shown. Not only does the information need to be passed by the tool to plugin, but the plugin also requires a way to notify the tool of what options it can provide. This builds the plugin option infrastructure that is taken from trace-cmd that is used to allow plugins to produce different output based on the options specified by the tool. Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Acked-by: Namhyung Kim <namhyung@kernel.org> Link: http://lkml.kernel.org/r/20140603184154.0a4c031c@gandalf.local.home Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/lib/traceevent/plugin_function.c')
0 files changed, 0 insertions, 0 deletions