Commit | Line | Data |
---|---|---|
17baffe2 MD |
1 | /* |
2 | * lttng-events-reset.h | |
3 | * | |
886d51a3 | 4 | * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
17baffe2 | 5 | * |
886d51a3 MD |
6 | * This library is free software; you can redistribute it and/or |
7 | * modify it under the terms of the GNU Lesser General Public | |
8 | * License as published by the Free Software Foundation; only | |
9 | * version 2.1 of the License. | |
10 | * | |
11 | * This library is distributed in the hope that it will be useful, | |
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 | * Lesser General Public License for more details. | |
15 | * | |
16 | * You should have received a copy of the GNU Lesser General Public | |
17 | * License along with this library; if not, write to the Free Software | |
18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
17baffe2 MD |
19 | */ |
20 | ||
f127e61e | 21 | /* Reset macros used within LTTNG_TRACEPOINT_EVENT to "nothing" */ |
6db3d13b | 22 | |
f127e61e MD |
23 | #undef LTTNG_TRACEPOINT_EVENT_CLASS_CODE |
24 | #define LTTNG_TRACEPOINT_EVENT_CLASS_CODE(_name, _proto, _args, _locvar, _code, _fields) | |
6db3d13b | 25 | |
f127e61e MD |
26 | #undef LTTNG_TRACEPOINT_EVENT_CLASS_CODE_NOARGS |
27 | #define LTTNG_TRACEPOINT_EVENT_CLASS_CODE_NOARGS(_name, _locvar, _code, _fields) | |
6db3d13b | 28 | |
f127e61e MD |
29 | #undef LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP |
30 | #define LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(_template, _name, _map, _proto, _args) | |
c099397a | 31 | |
f127e61e MD |
32 | #undef LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP_NOARGS |
33 | #define LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP_NOARGS(_template, _name, _map) | |
84da5206 | 34 | |
f127e61e MD |
35 | #undef TP_PROTO |
36 | #define TP_PROTO(args...) | |
d32a57a2 | 37 | |
f127e61e MD |
38 | #undef TP_ARGS |
39 | #define TP_ARGS(args...) | |
6db3d13b | 40 | |
f127e61e MD |
41 | #undef TP_locvar |
42 | #define TP_locvar(...) | |
e763dbf5 | 43 | |
f127e61e MD |
44 | #undef TP_code |
45 | #define TP_code(...) | |
e763dbf5 | 46 | |
f127e61e MD |
47 | #undef TP_FIELDS |
48 | #define TP_FIELDS(args...) | |
e763dbf5 | 49 | |
f127e61e MD |
50 | #undef _ctf_integer_ext |
51 | #define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, \ | |
52 | _user, _nowrite) | |
e763dbf5 | 53 | |
f127e61e MD |
54 | #undef _ctf_integer_ext_isuser0 |
55 | #define _ctf_integer_ext_isuser0(_type, _item, _src, _byte_order, _base, \ | |
56 | _nowrite) | |
e763dbf5 | 57 | |
f127e61e MD |
58 | #undef _ctf_integer_ext_isuser1 |
59 | #define _ctf_integer_ext_isuser1(_type, _item, _src, _byte_order, _base, \ | |
60 | _nowrite) | |
e763dbf5 | 61 | |
f127e61e MD |
62 | #undef _ctf_integer_ext_fetched |
63 | #define _ctf_integer_ext_fetched(_type, _item, _src, _byte_order, _base, \ | |
64 | _nowrite) | |
e763dbf5 | 65 | |
f127e61e MD |
66 | #undef _ctf_array_encoded |
67 | #define _ctf_array_encoded(_type, _item, _src, _length, _encoding, \ | |
68 | _user, _nowrite) | |
6db3d13b | 69 | |
f127e61e MD |
70 | #undef _ctf_sequence_encoded |
71 | #define _ctf_sequence_encoded(_type, _item, _src, _length_type, \ | |
57ede728 | 72 | _src_length, _encoding, _byte_order, _base, _user, _nowrite) |
6db3d13b | 73 | |
f127e61e MD |
74 | #undef _ctf_string |
75 | #define _ctf_string(_item, _src, _user, _nowrite) | |
7ca580f8 | 76 | |
f127e61e MD |
77 | /* "write" */ |
78 | #undef ctf_integer | |
79 | #define ctf_integer(_type, _item, _src) | |
7ca580f8 | 80 | |
f127e61e MD |
81 | #undef ctf_integer_hex |
82 | #define ctf_integer_hex(_type, _item, _src) | |
6db3d13b | 83 | |
f127e61e MD |
84 | #undef ctf_integer_oct |
85 | #define ctf_integer_oct(_type, _item, _src) | |
6db3d13b | 86 | |
f127e61e MD |
87 | #undef ctf_integer_network |
88 | #define ctf_integer_network(_type, _item, _src) | |
391286e8 | 89 | |
f127e61e MD |
90 | #undef ctf_integer_network_hex |
91 | #define ctf_integer_network_hex(_type, _item, _src) | |
391286e8 | 92 | |
f127e61e MD |
93 | #undef ctf_float |
94 | #define ctf_float(_type, _item, _src) | |
391286e8 | 95 | |
f127e61e MD |
96 | #undef ctf_array |
97 | #define ctf_array(_type, _item, _src, _length) | |
6db3d13b | 98 | |
f127e61e MD |
99 | #undef ctf_array_text |
100 | #define ctf_array_text(_type, _item, _src, _length) | |
6db3d13b | 101 | |
f127e61e MD |
102 | #undef ctf_sequence |
103 | #define ctf_sequence(_type, _item, _src, _length_type, _src_length) | |
f7bdf4db | 104 | |
f127e61e MD |
105 | #undef ctf_sequence_hex |
106 | #define ctf_sequence_hex(_type, _item, _src, _length_type, _src_length) | |
ae3dd5f0 | 107 | |
57ede728 MD |
108 | #undef ctf_sequence_network |
109 | #define ctf_sequence_network(_type, _item, _src, _length_type, _src_length) | |
110 | ||
f127e61e MD |
111 | #undef ctf_sequence_text |
112 | #define ctf_sequence_text(_type, _item, _src, _length_type, _src_length) | |
113 | ||
114 | #undef ctf_string | |
115 | #define ctf_string(_item, _src) | |
116 | ||
117 | /* "nowrite" */ | |
118 | #undef ctf_integer_nowrite | |
119 | #define ctf_integer_nowrite(_type, _item, _src) | |
120 | ||
121 | #undef ctf_float_nowrite | |
122 | #define ctf_float_nowrite(_type, _item, _src) | |
123 | ||
124 | #undef ctf_array_nowrite | |
125 | #define ctf_array_nowrite(_type, _item, _src, _length) | |
126 | ||
127 | #undef ctf_array_text_nowrite | |
128 | #define ctf_array_text_nowrite(_type, _item, _src, _length) | |
129 | ||
130 | #undef ctf_sequence_nowrite | |
131 | #define ctf_sequence_nowrite(_type, _item, _src, _length_type, _src_length) | |
132 | ||
133 | #undef ctf_sequence_text_nowrite | |
134 | #define ctf_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length) | |
135 | ||
136 | #undef ctf_string_nowrite | |
137 | #define ctf_string_nowrite(_item, _src) | |
138 | ||
139 | /* "user" - "write" */ | |
140 | #undef ctf_user_integer | |
141 | #define ctf_user_integer(_type, _item, _user_src) | |
142 | ||
143 | #undef ctf_user_integer_hex | |
144 | #define ctf_user_integer_hex(_type, _item, _user_src) | |
145 | ||
146 | #undef ctf_user_integer_network | |
147 | #define ctf_user_integer_network(_type, _item, _user_src) | |
148 | ||
149 | #undef ctf_user_integer_network_hex | |
150 | #define ctf_user_integer_network_hex(_type, _item, _user_src) | |
151 | ||
152 | #undef ctf_user_float | |
153 | #define ctf_user_float(_type, _item, _user_src) | |
154 | ||
155 | #undef ctf_user_array | |
156 | #define ctf_user_array(_type, _item, _user_src, _length) | |
157 | ||
158 | #undef ctf_user_array_text | |
159 | #define ctf_user_array_text(_type, _item, _user_src, _length) | |
160 | ||
161 | #undef ctf_user_sequence | |
162 | #define ctf_user_sequence(_type, _item, _user_src, _length_type, _user_src_length) | |
163 | ||
164 | #undef ctf_user_sequence_text | |
165 | #define ctf_user_sequence_text(_type, _item, _user_src, _length_type, _user_src_length) | |
166 | ||
167 | #undef ctf_user_string | |
168 | #define ctf_user_string(_item, _user_src) | |
169 | ||
170 | /* "user" - "nowrite" */ | |
171 | #undef ctf_user_integer_nowrite | |
172 | #define ctf_user_integer_nowrite(_type, _item, _user_src) | |
173 | ||
174 | #undef ctf_user_float_nowrite | |
175 | #define ctf_user_float_nowrite(_type, _item, _user_src) | |
176 | ||
177 | #undef ctf_user_array_nowrite | |
178 | #define ctf_user_array_nowrite(_type, _item, _user_src, _length) | |
179 | ||
180 | #undef ctf_user_array_text_nowrite | |
181 | #define ctf_user_array_text_nowrite(_type, _item, _user_src, _length) | |
182 | ||
183 | #undef ctf_user_sequence_nowrite | |
184 | #define ctf_user_sequence_nowrite(_type, _item, _user_src, _length_type, _user_src_length) | |
185 | ||
186 | #undef ctf_user_sequence_text_nowrite | |
187 | #define ctf_user_sequence_text_nowrite(_type, _item, _user_src, _length_type, _user_src_length) | |
188 | ||
189 | #undef ctf_user_string_nowrite | |
190 | #define ctf_user_string_nowrite(_item, _user_src) |