mbox series

[v2,00/10] Backport of traceevent APIs cleanup changes from kernel tree to trace-cmd

Message ID 20190408152340.12450-1-tstoyanov@vmware.com (mailing list archive)
Headers show
Series Backport of traceevent APIs cleanup changes from kernel tree to trace-cmd | expand

Message

Tzvetomir Stoyanov April 8, 2019, 3:23 p.m. UTC
[
 v2 changes:
  Fixed broken links in the patches descriptions.
]

A set of patches which aligns kernel libtraceevent implementation to trace-cmd 
one:
 - Got rid of "pevent" in library APIs and internal code, replaced it with "tep"
 - Removed deprecated filter trivial API
 - Made the API more consistent: aligned all "tep_is ... " APIs to return bool
 - Changed descriptions of some APIs, in order to be more informative

Steven Rostedt (VMware) (1):
  tools lib traceevent: Removed unneeded !! and return parenthesis

Tzvetomir Stoyanov (9):
  tools lib traceevent: Change description of few APIs
  tools lib traceevent: Implement new traceevent APIs for accessing
    struct tep_handler fields
  tools lib traceevent: Remove tep filter trivial APIs
  tools lib traceevent: Remove call to exit() from
    tep_filter_add_filter_str()
  tools tools, tools lib traceevent: Make traceevent APIs more
    consistent
  tools lib traceevent: Rename input arguments of libtraceevent APIs
    from pevent to tep
  perf tools, tools lib traceevent: Rename "pevent" member of struct
    tep_event to "tep"
  perf tools, tools lib traceevent: Rename "pevent" member of struct
    tep_event_filter to "tep"
  tools lib traceevent: Rename input arguments and local variables of
    libtraceevent from pevent to tep

 include/traceevent/event-parse.h   | 158 +++---
 lib/trace-cmd/trace-ftrace.c       |  16 +-
 lib/trace-cmd/trace-input.c        |  12 +-
 lib/traceevent/event-parse-api.c   | 213 ++++----
 lib/traceevent/event-parse-local.h |   6 +-
 lib/traceevent/event-parse.c       | 796 ++++++++++++++---------------
 lib/traceevent/event-plugin.c      |  32 +-
 lib/traceevent/parse-filter.c      | 216 +-------
 plugins/plugin_blk.c               |   8 +-
 plugins/plugin_cfg80211.c          |   8 +-
 plugins/plugin_function.c          |  22 +-
 plugins/plugin_hrtimer.c           |  13 +-
 plugins/plugin_jbd2.c              |  12 +-
 plugins/plugin_kmem.c              |  34 +-
 plugins/plugin_kvm.c               |  49 +-
 plugins/plugin_mac80211.c          |   6 +-
 plugins/plugin_sched_switch.c      |  18 +-
 plugins/plugin_scsi.c              |   8 +-
 plugins/plugin_xen.c               |   8 +-
 python/ctracecmd.i                 |   4 +-
 python/tracecmd.py                 |   2 +-
 tracecmd/trace-output.c            |   2 +-
 tracecmd/trace-profile.c           |   4 +-
 tracecmd/trace-read.c              |   6 +-
 tracecmd/trace-split.c             |   2 +-
 25 files changed, 735 insertions(+), 920 deletions(-)