mbox series

[v3,0/3] Changes in few libtraceevent APIs

Message ID 20190801074959.22023-1-tz.stoyanov@gmail.com (mailing list archive)
Headers show
Series Changes in few libtraceevent APIs | expand

Message

Tzvetomir Stoyanov (VMware) Aug. 1, 2019, 7:49 a.m. UTC
Before releasing libtraceevent as a standalone library, few
APIs must be changed:
 - Event printing interface is redesigned, to be more simple
   and user friendly. Now the tep_print_event() API can be used 
   to print various event information. All other event print APIs
   are removed.
 - Changed the user's plugin directory to 
   ~/.local/lib/traceevent/plugins/ to be XDG compliant.

[
 v3 changes:
   - The user's plugin directory is changed to ~/.local/lib/traceevent/plugins/,
     as Patrick McLean suggested.
   - New tep_print_event() item is added - TEP_PRINT_INFO_RAW, to print
     event information in raw format.
   - Removed prefix "tep_" from newly added static functions and few
     other changes, suggested by Steven Rostedt.
]
 
Tzvetomir Stoyanov (3):
  tools/lib/traceevent, tools/perf: Changes in tep_print_event_* APIs
  tools/lib/traceevent: Remove tep_register_trace_clock()
  tools/lib/traceevent: Change user's plugin directory

 tools/lib/traceevent/Makefile            |   6 +-
 tools/lib/traceevent/event-parse-api.c   |  40 ---
 tools/lib/traceevent/event-parse-local.h |   6 -
 tools/lib/traceevent/event-parse.c       | 333 +++++++++++++----------
 tools/lib/traceevent/event-parse.h       |  30 +-
 tools/lib/traceevent/event-plugin.c      |   2 +-
 tools/perf/builtin-kmem.c                |   3 +-
 tools/perf/util/sort.c                   |   3 +-
 tools/perf/util/trace-event-parse.c      |   2 +-
 9 files changed, 207 insertions(+), 218 deletions(-)