aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorTzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>2018-09-19 14:56:54 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-09-19 16:27:52 -0400
commit88e6c21a11c5464ebdaefeb18822ab55f37a6473 (patch)
tree031409fe56f22eba3110ffcf18e249fc8c245a8b /tools/lib
parent0515ca53caa681ad945fbea218e691e8637b4d7d (diff)
tools lib traceevent: Add prefix tep_ to various structs filter_arg_*.
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 to various structs filter_arg_*.. 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/20180919185724.152948543@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/lib')
-rw-r--r--tools/lib/traceevent/event-parse.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/tools/lib/traceevent/event-parse.h b/tools/lib/traceevent/event-parse.h
index 64ce3eb0dcbc..1330fca2da1e 100644
--- a/tools/lib/traceevent/event-parse.h
+++ b/tools/lib/traceevent/event-parse.h
@@ -827,15 +827,15 @@ enum tep_filter_value_type {
827 827
828struct tep_filter_arg; 828struct tep_filter_arg;
829 829
830struct filter_arg_boolean { 830struct tep_filter_arg_boolean {
831 enum tep_filter_boolean_type value; 831 enum tep_filter_boolean_type value;
832}; 832};
833 833
834struct filter_arg_field { 834struct tep_filter_arg_field {
835 struct tep_format_field *field; 835 struct tep_format_field *field;
836}; 836};
837 837
838struct filter_arg_value { 838struct tep_filter_arg_value {
839 enum tep_filter_value_type type; 839 enum tep_filter_value_type type;
840 union { 840 union {
841 char *str; 841 char *str;
@@ -843,42 +843,42 @@ struct filter_arg_value {
843 }; 843 };
844}; 844};
845 845
846struct filter_arg_op { 846struct tep_filter_arg_op {
847 enum tep_filter_op_type type; 847 enum tep_filter_op_type type;
848 struct tep_filter_arg *left; 848 struct tep_filter_arg *left;
849 struct tep_filter_arg *right; 849 struct tep_filter_arg *right;
850}; 850};
851 851
852struct filter_arg_exp { 852struct tep_filter_arg_exp {
853 enum tep_filter_exp_type type; 853 enum tep_filter_exp_type type;
854 struct tep_filter_arg *left; 854 struct tep_filter_arg *left;
855 struct tep_filter_arg *right; 855 struct tep_filter_arg *right;
856}; 856};
857 857
858struct filter_arg_num { 858struct tep_filter_arg_num {
859 enum tep_filter_cmp_type type; 859 enum tep_filter_cmp_type type;
860 struct tep_filter_arg *left; 860 struct tep_filter_arg *left;
861 struct tep_filter_arg *right; 861 struct tep_filter_arg *right;
862}; 862};
863 863
864struct filter_arg_str { 864struct tep_filter_arg_str {
865 enum tep_filter_cmp_type type; 865 enum tep_filter_cmp_type type;
866 struct tep_format_field *field; 866 struct tep_format_field *field;
867 char *val; 867 char *val;
868 char *buffer; 868 char *buffer;
869 regex_t reg; 869 regex_t reg;
870}; 870};
871 871
872struct tep_filter_arg { 872struct tep_filter_arg {
873 enum tep_filter_arg_type type; 873 enum tep_filter_arg_type type;
874 union { 874 union {
875 struct filter_arg_boolean boolean; 875 struct tep_filter_arg_boolean boolean;
876 struct filter_arg_field field; 876 struct tep_filter_arg_field field;
877 struct filter_arg_value value; 877 struct tep_filter_arg_value value;
878 struct filter_arg_op op; 878 struct tep_filter_arg_op op;
879 struct filter_arg_exp exp; 879 struct tep_filter_arg_exp exp;
880 struct filter_arg_num num; 880 struct tep_filter_arg_num num;
881 struct filter_arg_str str; 881 struct tep_filter_arg_str str;
882 }; 882 };
883}; 883};
884 884