diff options
author | Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com> | 2018-09-19 14:56:49 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-09-19 16:16:34 -0400 |
commit | 5647f94b90f6681bcc6f37abeb3bc3d1850b12cb (patch) | |
tree | 8c476dd60b15224ca0a8403ce0df5dd2eec38a0a /tools/perf/util/scripting-engines/trace-event-perl.c | |
parent | c1953bcc73115b5f1f7e8a45f124cf9f434494cd (diff) |
tools lib traceevent, perf tools: Add prefix tep_ to all print_* structures
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 adds prefix tep_ to all
print_* structures
Signed-off-by: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Tzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
Cc: linux-trace-devel@vger.kernel.org
Link: http://lkml.kernel.org/r/20180919185723.381753268@goodmis.org
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
-rw-r--r-- | tools/perf/util/scripting-engines/trace-event-perl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/util/scripting-engines/trace-event-perl.c b/tools/perf/util/scripting-engines/trace-event-perl.c index 5d6a55183ad6..481a1ecb1eaf 100644 --- a/tools/perf/util/scripting-engines/trace-event-perl.c +++ b/tools/perf/util/scripting-engines/trace-event-perl.c | |||
@@ -99,7 +99,7 @@ static void define_symbolic_value(const char *ev_name, | |||
99 | LEAVE; | 99 | LEAVE; |
100 | } | 100 | } |
101 | 101 | ||
102 | static void define_symbolic_values(struct print_flag_sym *field, | 102 | static void define_symbolic_values(struct tep_print_flag_sym *field, |
103 | const char *ev_name, | 103 | const char *ev_name, |
104 | const char *field_name) | 104 | const char *field_name) |
105 | { | 105 | { |
@@ -157,7 +157,7 @@ static void define_flag_value(const char *ev_name, | |||
157 | LEAVE; | 157 | LEAVE; |
158 | } | 158 | } |
159 | 159 | ||
160 | static void define_flag_values(struct print_flag_sym *field, | 160 | static void define_flag_values(struct tep_print_flag_sym *field, |
161 | const char *ev_name, | 161 | const char *ev_name, |
162 | const char *field_name) | 162 | const char *field_name) |
163 | { | 163 | { |
@@ -191,7 +191,7 @@ static void define_flag_field(const char *ev_name, | |||
191 | 191 | ||
192 | static void define_event_symbols(struct tep_event_format *event, | 192 | static void define_event_symbols(struct tep_event_format *event, |
193 | const char *ev_name, | 193 | const char *ev_name, |
194 | struct print_arg *args) | 194 | struct tep_print_arg *args) |
195 | { | 195 | { |
196 | if (args == NULL) | 196 | if (args == NULL) |
197 | return; | 197 | return; |