[PATCH 0/7] trace-cmd,libtraceevent: Rework of plugin options APIs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.24.1




[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux