Re: [PATCH 03/14] tools/lib/traceevent, tools/perf: Rename enum format_flags to enum tep_format_flags, add prefix TEP_ to all of its members

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

 



The subject is fine with just:

 tools/lib/traceevent, tools/perf: Rename enum format_flags to enum tep_format_flags


On Fri, 10 Aug 2018 16:17:21 +0300
"Tzvetomir Stoyanov (VMware)" <tz.stoyanov@xxxxxxxxx> wrote:

> 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_". This renames enum format_flags
> to enum tep_format_flags and adds prefix TEP_ to all of its members.

Explaining the TEP_ part in the change log is good enough.

-- Steve

> 
> Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@xxxxxxxxx>
> ---
>  tools/lib/traceevent/event-parse.c            | 48 +++++++++----------
>  tools/lib/traceevent/event-parse.h            | 18 +++----
>  tools/lib/traceevent/parse-filter.c           |  8 ++--
>  tools/perf/builtin-trace.c                    |  2 +-
>  tools/perf/tests/evsel-tp-sched.c             |  2 +-
>  tools/perf/util/data-convert-bt.c             | 34 ++++++-------
>  tools/perf/util/evsel.c                       |  2 +-
>  tools/perf/util/python.c                      | 12 ++---
>  .../util/scripting-engines/trace-event-perl.c | 18 +++----
>  .../scripting-engines/trace-event-python.c    | 26 +++++-----
>  tools/perf/util/sort.c                        |  4 +-
>  11 files changed, 87 insertions(+), 87 deletions(-)
> 



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

  Powered by Linux