trace-cmd,libtraceevent: Rework of plugin options APIs
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | trace-cmd,libtraceevent: Plugin options reworkinclude/ lib/ lib/ +2 more | +17 | 0 replies | |
| 2/7 | trace-cmd,libtraceevent: Remove TEP_PLUGIN_OPTIONSinclude/ lib/ | +0 | 0 replies | |
| 3/7 | trace-cmd,libtraceevent: Check for plugin options duplicationlib/ | +30 | 0 replies | |
| 4/7 | trace-cmd,libtraceevent: Check for plugin duplicationlib/ | +45 | 0 replies | |
| 5/7 | trace-cmd,libtraceevent: Remove API for plugin options printinclude/ lib/ tracecmd/ | +58 | 0 replies | |
| 6/7 | trace-cmd,libtraceevent: Remove API for plugin printinclude/ lib/ tracecmd/ | +24 | 0 replies | |
| 7/7 | trace-cmd, kernelshark, libtraceevent: Changed tep_plugin_add_option() APIinclude/ kernel-shark/ lib/ +1 more | +27 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] trace-cmd,libtraceevent: Rework of plugin options APIs
In order to simplify libtracevents APIs, logic related to plugins and plugin options is reworked:
- Complex and not used APIs are removed.
- Logic for printing various information for plugins and plugin options is moved from the library to the application.
- Additional checks are added when loading new plugins and options, to avoid duplications.
Tzvetomir Stoyanov (VMware) (7):
trace-cmd,libtraceevent: Plugin options rework trace-cmd,libtraceevent: Remove TEP_PLUGIN_OPTIONS trace-cmd,libtraceevent: Check for plugin options duplication trace-cmd,libtraceevent: Check for plugin duplication trace-cmd,libtraceevent: Remove API for plugin options print trace-cmd,libtraceevent: Remove API for plugin print trace-cmd, kernelshark, libtraceevent: Changed tep_plugin_add_option()
API
include/traceevent/event-parse.h | 50 +--- kernel-shark/src/libkshark.c | 4 +- lib/trace-cmd/trace-ftrace.c | 4 +- lib/trace-cmd/trace-plugin.c | 5 - lib/traceevent/event-plugin.c | 279 ++++++++++------------- lib/traceevent/plugins/plugin_function.c | 6 +- tracecmd/trace-list.c | 55 ++++- tracecmd/trace-read.c | 2 +- 8 files changed, 188 insertions(+), 217 deletions(-)
Signature · 1 line
2.24.1