linux-trace-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/24] trace-cmd: rename variables, data structures and functions in lib/traceevent
@ 2018-08-21 13:33 Tzvetomir Stoyanov (VMware)
  2018-08-21 13:33 ` [PATCH 02/24] tools lib traceevent, perf tools: Rename 'struct pevent_record' to 'struct tep_record' Tzvetomir Stoyanov (VMware)
                   ` (23 more replies)
  0 siblings, 24 replies; 25+ messages in thread
From: Tzvetomir Stoyanov (VMware) @ 2018-08-21 13:33 UTC (permalink / raw)
  To: rostedt; +Cc: linux-trace-devel

In order to make libtraceevent into a proper library, variables, data
structures and functions require a unique prefix to prevent name space
conflicts. That prefix will be "tep_" and not "pevent_". 
This series of patches perform the renaming in the trace-cmd code.
This is v2 of the patches, with correct changelog. 

Tzvetomir Stoyanov (VMware) (24):
  tools/lib/traceevent, tools/perf: Rename struct pevent to struct
    tep_handle
  tools/lib/traceevent, tools/perf: Rename struct pevent_record to
    struct tep_record
  tools/lib/traceevent, tools/perf: Rename pevent plugin related APIs
  tools/lib/traceevent, tools/perf: Rename pevent alloc / free APIs
  tools/lib/traceevent, tools/perf: Rename pevent find APIs
  tools/lib/traceevent, tools/perf: Rename pevent parse APIs
  tools/lib/traceevent, tools/perf: Rename pevent print APIs
  tools/lib/traceevent, tools/perf: Rename pevent_read_number_* APIs
  tools/lib/traceevent, tools/perf: Rename pevent_register_* APIs
  tools/lib/traceevent, tools/perf: Rename pevent_set_* APIs
  tools/lib/traceevent, tools/perf: Rename traceevent_* APIs
  tools/lib/traceevent, tools/perf: Rename enum pevent_flag to enum
    tep_flag
  tools/lib/traceevent, tools/lib/lockdep/: Rename enunm pevent_errno to
    enum tep_errno
  tools/lib/traceevent: Rename pevent_function* APIs
  tools/lib/traceevent, tools/perf: Rename traceevent_* APIs
  tools/lib/traceevent: Rename pevent_filter* APIs
  Rename pevent_register / unregister APIs
  tools/lib/traceevent: Rename pevent_data_ APIs
  tools/lib/traceevent: Rename pevent field APIs
  tools/lib/traceevent: Rename pevent_find_* APIs
  tools/lib/traceevent: Rename various pevent get/set/is APIs
  tools/lib/traceevent: Rename internal parser related APIs
  tools/lib/traceevent: Rename various pevent APIs
  tools/lib/traceevent: Rename static variables and functions in
    event-parse.c

 include/trace-cmd/trace-cmd.h         |  82 +--
 include/traceevent/event-parse.h      | 458 ++++++++---------
 kernel-shark-qt/examples/datafilter.c |   8 +-
 kernel-shark-qt/examples/dataload.c   |   4 +-
 kernel-shark-qt/src/libkshark.c       |  56 +--
 kernel-shark-qt/src/libkshark.h       |   6 +-
 kernel-shark/include/trace-filter.h   |   6 +-
 kernel-shark/include/trace-graph.h    |  20 +-
 kernel-shark/include/trace-gui.h      |   8 +-
 kernel-shark/kernel-shark.c           |  14 +-
 kernel-shark/trace-capture.c          |  16 +-
 kernel-shark/trace-dialog.c           |  16 +-
 kernel-shark/trace-filter.c           | 104 ++--
 kernel-shark/trace-graph.c            | 126 ++---
 kernel-shark/trace-plot-cpu.c         |  56 +--
 kernel-shark/trace-plot-task.c        |  92 ++--
 kernel-shark/trace-plot.c             |   4 +-
 kernel-shark/trace-view-main.c        |   8 +-
 kernel-shark/trace-view-store.c       |  66 +--
 kernel-shark/trace-view.c             |  10 +-
 lib/trace-cmd/trace-blk-hack.c        |  20 +-
 lib/trace-cmd/trace-ftrace.c          |  98 ++--
 lib/trace-cmd/trace-input.c           | 132 ++---
 lib/trace-cmd/trace-util.c            | 116 ++---
 lib/traceevent/event-parse.c          | 696 +++++++++++++-------------
 lib/traceevent/event-plugin.c         |  70 +--
 lib/traceevent/parse-filter.c         | 288 +++++------
 plugins/plugin_blk.c                  |  46 +-
 plugins/plugin_cfg80211.c             |  20 +-
 plugins/plugin_function.c             |  36 +-
 plugins/plugin_futex.c                |  26 +-
 plugins/plugin_hrtimer.c              |  44 +-
 plugins/plugin_jbd2.c                 |  38 +-
 plugins/plugin_kmem.c                 |  64 +--
 plugins/plugin_kvm.c                  | 152 +++---
 plugins/plugin_mac80211.c             |  34 +-
 plugins/plugin_python.c               |   8 +-
 plugins/plugin_sched_switch.c         |  60 +--
 plugins/plugin_scsi.c                 |  24 +-
 plugins/plugin_tlb.c                  |  20 +-
 plugins/plugin_xen.c                  |  20 +-
 python/ctracecmd.i                    |  34 +-
 python/tracecmd.py                    |  34 +-
 tracecmd/include/trace-local.h        |   4 +-
 tracecmd/trace-check-events.c         |   6 +-
 tracecmd/trace-hist.c                 | 148 +++---
 tracecmd/trace-list.c                 |  12 +-
 tracecmd/trace-mem.c                  |  82 +--
 tracecmd/trace-output.c               |  26 +-
 tracecmd/trace-profile.c              | 144 +++---
 tracecmd/trace-read.c                 | 156 +++---
 tracecmd/trace-record.c               |  24 +-
 tracecmd/trace-split.c                |  20 +-
 tracecmd/trace-stream.c               |   2 +-
 54 files changed, 1932 insertions(+), 1932 deletions(-)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2018-08-24  4:28 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-21 13:33 [PATCH 00/24] trace-cmd: rename variables, data structures and functions in lib/traceevent Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 02/24] tools lib traceevent, perf tools: Rename 'struct pevent_record' to 'struct tep_record' Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 03/24] tools lib traceevent, perf tools: Rename pevent plugin related APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 04/24] tools lib traceevent, perf tools: Rename pevent alloc / free APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 05/24] tools lib traceevent, perf tools: Rename pevent find APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 06/24] tools lib traceevent, perf tools: Rename pevent parse APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 07/24] tools lib traceevent, perf tools: Rename pevent print APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 08/24] tools lib traceevent, perf tools: Rename pevent_read_number_* APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 09/24] tools lib traceevent, perf tools: Rename pevent_register_* APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 10/24] tools lib traceevent, perf tools: Rename pevent_set_* APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 11/24] tools lib traceevent, perf tools: Rename traceevent_* APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 12/24] tools lib traceevent, perf tools: Rename 'enum pevent_flag' to 'enum tep_flag' Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 13/24] tools lib traceevent, tools lib lockdep: Rename 'enum pevent_errno' to 'enum tep_errno' Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 14/24] tools lib traceevent: Rename pevent_function* APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 15/24] tools lib traceevent, perf tools: Rename traceevent_plugin_* APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 16/24] tools lib traceevent: Rename pevent_filter* APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 17/24] tools lib traceevent: Rename pevent_register / unregister APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 18/24] tools lib traceevent: Rename pevent_data_ APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 19/24] tools lib traceevent: Rename pevent field APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 20/24] tools lib traceevent: Rename pevent_find_* APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 21/24] tools lib traceevent: Rename various pevent get/set/is APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 22/24] tools lib traceevent: Rename internal parser related APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 23/24] tools lib traceevent: Rename various pevent APIs Tzvetomir Stoyanov (VMware)
2018-08-21 13:33 ` [PATCH 24/24] tools lib traceevent: Rename static variables and functions in event-parse.c Tzvetomir Stoyanov (VMware)
     [not found] ` <20180821133328.3249-2-tz.stoyanov@gmail.com>
     [not found]   ` <20180823140648.GB2077@redhat.com>
2018-08-24  0:56     ` [PATCH 01/24] tools lib traceevent, perf tools: Rename struct pevent to struct tep_handle Steven Rostedt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).