[PATCH v3 0/5] Backport of traceevent APIs cleanup changes from kernel tree to trace-cmd

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

 



[
 v3 changes:
  Fixed broken Kernelshark compilation
  Excluded already merged patches from the series:
    tools lib traceevent: Removed unneeded !! and return parenthesis
    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()

 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"
 - Made the API more consistent: aligned all "tep_is ... " APIs to return bool

Tzvetomir Stoyanov (5):
  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        | 132 ++--
 kernel-shark/src/libkshark.c            |   2 +-
 kernel-shark/src/plugins/sched_events.c |   2 +-
 lib/trace-cmd/trace-ftrace.c            |  16 +-
 lib/trace-cmd/trace-input.c             |  10 +-
 lib/traceevent/event-parse-api.c        | 148 ++---
 lib/traceevent/event-parse-local.h      |   6 +-
 lib/traceevent/event-parse.c            | 790 ++++++++++++------------
 lib/traceevent/event-plugin.c           |  32 +-
 lib/traceevent/parse-filter.c           |  44 +-
 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                   |   4 +-
 tracecmd/trace-split.c                  |   2 +-
 27 files changed, 694 insertions(+), 692 deletions(-)

-- 
2.20.1




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

  Powered by Linux