tools lib traceevent: Rename struct cmdline to struct tep_cmdline

In order to make libtraceevent a proper library, variables, data
structures and functions should have a unique prefix to prevent name
space conflicts. That prefix will be "tep_".

This patch renames 'struct cmdline' to 'struct tep_cmdline'.

Signed-off-by: Tzvetomir Stoyanov <tstoyanov@vmware.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20181201040852.358871851@goodmis.org
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Tzvetomir Stoyanov 2018-11-30 23:08:09 -05:00 committed by Arnaldo Carvalho de Melo
parent eed14f4b07
commit 2e4318a287
3 changed files with 24 additions and 24 deletions

View file

@ -7,7 +7,7 @@
#ifndef _PARSE_EVENTS_INT_H
#define _PARSE_EVENTS_INT_H
struct cmdline;
struct tep_cmdline;
struct cmdline_list;
struct func_map;
struct func_list;
@ -36,7 +36,7 @@ struct tep_handle {
int long_size;
int page_size;
struct cmdline *cmdlines;
struct tep_cmdline *cmdlines;
struct cmdline_list *cmdlist;
int cmdline_count;