Skip to content

trace-cmd: rename variables, data structures and functions in lib/traceevent

Tzvetomir Stoyanov linux-trace-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest16 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16tools lib traceevent, perf tools: Split trace-seq related APIs in a separate header fileinclude/traceevent/event-parse.h include/traceevent/trace-seq.h lib/traceevent/event-parse.c +11 more+70 -440 replies
2/16tools lib traceevent, perf tools: Rename struct event_format to struct tep_event_formatinclude/trace-cmd/trace-cmd.h include/traceevent/event-parse.h kernel-shark-qt/examples/datafilter.c +31 more+255 -2550 replies
3/16tools lib traceevent, perf tools: Rename struct format{_field} to struct tep_format{_field}include/traceevent/event-parse.h kernel-shark-qt/src/plugins/sched_events.h kernel-shark/include/trace-graph.h +17 more+167 -1670 replies
4/16tools lib traceevent, perf tools: Rename enum format_flags to enum tep_format_flagsinclude/traceevent/event-parse.h lib/traceevent/event-parse.c lib/traceevent/parse-filter.c+37 -370 replies
5/16tools lib traceevent: Rename enum event_{sort_}type to enum tep_event_{sort_}typeinclude/traceevent/event-parse.h kernel-shark-qt/src/libkshark-configio.c kernel-shark/trace-filter.c +5 more+289 -2890 replies
6/16tools lib traceevent: Add prefix TEP_ to all EVENT_FL_* flagsinclude/traceevent/event-parse.h lib/traceevent/event-parse.c tracecmd/trace-read.c+32 -320 replies
7/16tools lib traceevent, perf tools: Add prefix tep_ to all print_* structuresinclude/traceevent/event-parse.h lib/traceevent/event-parse.c+121 -1210 replies
8/16tools lib traceevent, perf tools: Rename enum print_arg_type to enum tep_print_arg_typeinclude/traceevent/event-parse.h lib/traceevent/event-parse.c+142 -1420 replies
9/16tools lib traceevent: Add prefix tep_ to enums filter_{boolean,op,cmp}_typeinclude/traceevent/event-parse.h lib/traceevent/parse-filter.c+95 -950 replies
10/16tools lib traceevent: Add prefix tep_ to enums filter_{exp,arg}_typeinclude/traceevent/event-parse.h lib/traceevent/parse-filter.c+133 -1330 replies
11/16tools lib traceevent: Add prefix tep_ to struct filter_{arg,value_type}include/traceevent/event-parse.h lib/traceevent/parse-filter.c+74 -740 replies
12/16tools lib traceevent: Add prefix tep_ to various structs filter_arg_*.include/traceevent/event-parse.h+24 -240 replies
13/16tools lib traceevent: Add prefix tep_ to structs filter_type and event_filterinclude/traceevent/event-parse.h kernel-shark-qt/examples/datafilter.c kernel-shark-qt/src/libkshark-configio.c +13 more+113 -1130 replies
14/16tools lib traceevent: Rename struct plugin_list to struct tep_plugin_listinclude/trace-cmd/trace-cmd.h include/traceevent/event-parse.h lib/trace-cmd/trace-input.c +4 more+31 -310 replies
15/16tools lib traceevent: Rename data2host*() APIsinclude/traceevent/event-parse.h lib/trace-cmd/trace-input.c lib/traceevent/event-parse.c +2 more+28 -280 replies
16/16tools lib traceevent: Add prefix tep_ to enum filter_trivial_typeinclude/traceevent/event-parse.h kernel-shark/trace-filter.c kernel-shark/trace-graph.c +2 more+26 -260 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/16] trace-cmd: rename variables, data structures and functions in lib/traceevent

From: "Tzvetomir Stoyanov (VMware)" <[email protected]>

Backport series of patches from kernel tree to trace-cmd. Patches are related to renaming variables, data structures and functions in lib/traceevent, in order to make libtraceevent into a proper library.

Tzvetomir Stoyanov (VMware) (16):
tools lib traceevent, perf tools: Split trace-seq related APIs in a
separate header file
tools lib traceevent, perf tools: Rename struct event_format to struct
tep_event_format
tools lib traceevent, perf tools: Rename struct format{_field} to

    struct tep_format{_field}
  tools lib traceevent, perf tools: Rename enum format_flags to enum
    tep_format_flags
  tools lib traceevent: Rename enum event_{sort_}type to enum
    tep_event_{sort_}type
  tools lib traceevent: Add prefix TEP_ to all EVENT_FL_* flags
  tools lib traceevent, perf tools: Add prefix tep_ to all print_*
    structures
  tools lib traceevent, perf tools: Rename enum print_arg_type to enum
    tep_print_arg_type
  tools lib traceevent: Add prefix tep_ to enums
    filter_{boolean,op,cmp}_type
  tools lib traceevent: Add prefix tep_ to enums filter_{exp,arg}_type
  tools lib traceevent: Add prefix tep_ to struct
    filter_{arg,value_type}

tools lib traceevent: Add prefix tep_ to various structs filter_arg_*. tools lib traceevent: Add prefix tep_ to structs filter_type and
event_filter
tools lib traceevent: Rename struct plugin_list to struct
tep_plugin_list
tools lib traceevent: Rename data2host*() APIs
tools lib traceevent: Add prefix tep_ to enum filter_trivial_type

 include/trace-cmd/trace-cmd.h              |   10 +-
 include/traceevent/event-parse.h           |  576 +++++-----
 include/traceevent/trace-seq.h             |   55 +
 kernel-shark-qt/examples/datafilter.c      |    4 +-
 kernel-shark-qt/src/libkshark-configio.c   |   10 +-
 kernel-shark-qt/src/libkshark.c            |    6 +-
 kernel-shark-qt/src/libkshark.h            |    2 +-
 kernel-shark-qt/src/plugins/sched_events.c |    2 +-
 kernel-shark-qt/src/plugins/sched_events.h |   18 +-
 kernel-shark/include/trace-filter.h        |   16 +-
 kernel-shark/include/trace-graph.h         |   22 +-
 kernel-shark/include/trace-view-store.h    |   16 +-
 kernel-shark/include/trace-view.h          |    2 +-
 kernel-shark/kernel-shark.c                |    8 +-
 kernel-shark/trace-capture.c               |    6 +-
 kernel-shark/trace-dialog.c                |    6 +-
 kernel-shark/trace-filter.c                |   78 +-
 kernel-shark/trace-graph.c                 |   24 +-
 kernel-shark/trace-plot-cpu.c              |    4 +-
 kernel-shark/trace-plot-task.c             |    4 +-
 kernel-shark/trace-view-main.c             |    4 +-
 kernel-shark/trace-view-store.c            |    4 +-
 kernel-shark/trace-view.c                  |   12 +-
 lib/trace-cmd/trace-blk-hack.c             |    4 +-
 lib/trace-cmd/trace-ftrace.c               |   18 +-
 lib/trace-cmd/trace-input.c                |   18 +-
 lib/trace-cmd/trace-util.c                 |   18 +-
 lib/traceevent/event-parse.c               | 1185 ++++++++++----------
 lib/traceevent/event-plugin.c              |   19 +-
 lib/traceevent/parse-filter.c              |  646 +++++------
 lib/traceevent/trace-seq.c                 |    2 +
 plugins/plugin_blk.c                       |    6 +-
 plugins/plugin_function.c                  |    3 +-
 plugins/plugin_futex.c                     |    2 +-
 plugins/plugin_hrtimer.c                   |    5 +-
 plugins/plugin_jbd2.c                      |    1 +
 plugins/plugin_kmem.c                      |    5 +-
 plugins/plugin_kvm.c                       |   15 +-
 plugins/plugin_mac80211.c                  |   17 +-
 plugins/plugin_sched_switch.c              |   11 +-
 plugins/plugin_scsi.c                      |    1 +
 plugins/plugin_tlb.c                       |    2 +-
 plugins/plugin_xen.c                       |    1 +
 python/ctracecmd.i                         |   20 +-
 tracecmd/trace-check-events.c              |    2 +-
 tracecmd/trace-hist.c                      |   64 +-
 tracecmd/trace-list.c                      |    4 +-
 tracecmd/trace-mem.c                       |   66 +-
 tracecmd/trace-output.c                    |    6 +-
 tracecmd/trace-profile.c                   |   34 +-
 tracecmd/trace-read.c                      |   36 +-
 tracecmd/trace-record.c                    |    4 +-
 tracecmd/trace-split.c                     |   12 +-
 53 files changed, 1571 insertions(+), 1545 deletions(-)
 create mode 100644 include/traceevent/trace-seq.h
Signature · 1 line
2.17.1