3b39233ca69b82a39f9eb4bb565159a09fdab890
[lttng-modules.git] / probes / lttng-events-reset.h
1 /*
2 * lttng-events-reset.h
3 *
4 * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 *
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
19 */
20
21 /* Reset macros used within LTTNG_TRACEPOINT_EVENT to "nothing" */
22
23 #undef LTTNG_TRACEPOINT_EVENT_CLASS_CODE
24 #define LTTNG_TRACEPOINT_EVENT_CLASS_CODE(_name, _proto, _args, _locvar, _code_pre, _fields, _code_post)
25
26 #undef LTTNG_TRACEPOINT_EVENT_CLASS_CODE_NOARGS
27 #define LTTNG_TRACEPOINT_EVENT_CLASS_CODE_NOARGS(_name, _locvar, _code_pre, _fields, _code_post)
28
29 #undef LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP
30 #define LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(_template, _name, _map, _proto, _args)
31
32 #undef LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP_NOARGS
33 #define LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP_NOARGS(_template, _name, _map)
34
35 #undef TP_PROTO
36 #define TP_PROTO(args...)
37
38 #undef TP_ARGS
39 #define TP_ARGS(args...)
40
41 #undef TP_locvar
42 #define TP_locvar(...)
43
44 #undef TP_code_pre
45 #define TP_code_pre(...)
46
47 #undef TP_code_post
48 #define TP_code_post(...)
49
50 #undef TP_FIELDS
51 #define TP_FIELDS(args...)
52
53 #undef _ctf_integer_ext
54 #define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, \
55 _user, _nowrite)
56
57 #undef _ctf_integer_ext_isuser0
58 #define _ctf_integer_ext_isuser0(_type, _item, _src, _byte_order, _base, \
59 _nowrite)
60
61 #undef _ctf_integer_ext_isuser1
62 #define _ctf_integer_ext_isuser1(_type, _item, _src, _byte_order, _base, \
63 _nowrite)
64
65 #undef _ctf_integer_ext_fetched
66 #define _ctf_integer_ext_fetched(_type, _item, _src, _byte_order, _base, \
67 _nowrite)
68
69 #undef _ctf_array_encoded
70 #define _ctf_array_encoded(_type, _item, _src, _length, _encoding, \
71 _user, _nowrite)
72
73 #undef _ctf_array_bitfield
74 #define _ctf_array_bitfield(_type, _item, _src, _length, _user, _nowrite)
75
76 #undef _ctf_sequence_encoded
77 #define _ctf_sequence_encoded(_type, _item, _src, _length_type, \
78 _src_length, _encoding, _byte_order, _base, _user, _nowrite)
79
80 #undef _ctf_sequence_bitfield
81 #define _ctf_sequence_bitfield(_type, _item, _src, _length_type, \
82 _src_length, _byte_order, _user, _nowrite)
83
84 #undef _ctf_string
85 #define _ctf_string(_item, _src, _user, _nowrite)
86
87 /* "write" */
88 #undef ctf_integer
89 #define ctf_integer(_type, _item, _src)
90
91 #undef ctf_integer_hex
92 #define ctf_integer_hex(_type, _item, _src)
93
94 #undef ctf_integer_oct
95 #define ctf_integer_oct(_type, _item, _src)
96
97 #undef ctf_integer_network
98 #define ctf_integer_network(_type, _item, _src)
99
100 #undef ctf_integer_network_hex
101 #define ctf_integer_network_hex(_type, _item, _src)
102
103 #undef ctf_float
104 #define ctf_float(_type, _item, _src)
105
106 #undef ctf_array
107 #define ctf_array(_type, _item, _src, _length)
108
109 #undef ctf_array_text
110 #define ctf_array_text(_type, _item, _src, _length)
111
112 #undef ctf_array_bitfield
113 #define ctf_array_bitfield(_type, _item, _src, _length)
114
115 #undef ctf_sequence
116 #define ctf_sequence(_type, _item, _src, _length_type, _src_length)
117
118 #undef ctf_sequence_hex
119 #define ctf_sequence_hex(_type, _item, _src, _length_type, _src_length)
120
121 #undef ctf_sequence_network
122 #define ctf_sequence_network(_type, _item, _src, _length_type, _src_length)
123
124 #undef ctf_sequence_text
125 #define ctf_sequence_text(_type, _item, _src, _length_type, _src_length)
126
127 #undef ctf_sequence_bitfield
128 #define ctf_sequence_bitfield(_type, _item, _src, _length_type, _src_length)
129
130 #undef ctf_string
131 #define ctf_string(_item, _src)
132
133 #undef ctf_custom_field
134 #define ctf_custom_field(_type, _item, _code)
135
136 #undef ctf_custom_type
137 #define ctf_custom_type(...)
138
139 #undef ctf_custom_code
140 #define ctf_custom_code(...)
141
142 #undef ctf_align
143 #define ctf_align(_type)
144
145 /* "nowrite" */
146 #undef ctf_integer_nowrite
147 #define ctf_integer_nowrite(_type, _item, _src)
148
149 #undef ctf_float_nowrite
150 #define ctf_float_nowrite(_type, _item, _src)
151
152 #undef ctf_array_nowrite
153 #define ctf_array_nowrite(_type, _item, _src, _length)
154
155 #undef ctf_array_text_nowrite
156 #define ctf_array_text_nowrite(_type, _item, _src, _length)
157
158 #undef ctf_array_bitfield_nowrite
159 #define ctf_array_bitfield_nowrite(_type, _item, _src, _length)
160
161 #undef ctf_sequence_nowrite
162 #define ctf_sequence_nowrite(_type, _item, _src, _length_type, _src_length)
163
164 #undef ctf_sequence_text_nowrite
165 #define ctf_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length)
166
167 #undef ctf_sequence_bitfield_nowrite
168 #define ctf_sequence_bitfield_nowrite(_type, _item, _src, _length_type, _src_length)
169
170 #undef ctf_string_nowrite
171 #define ctf_string_nowrite(_item, _src)
172
173 /* "user" - "write" */
174 #undef ctf_user_integer
175 #define ctf_user_integer(_type, _item, _user_src)
176
177 #undef ctf_user_integer_hex
178 #define ctf_user_integer_hex(_type, _item, _user_src)
179
180 #undef ctf_user_integer_network
181 #define ctf_user_integer_network(_type, _item, _user_src)
182
183 #undef ctf_user_integer_network_hex
184 #define ctf_user_integer_network_hex(_type, _item, _user_src)
185
186 #undef ctf_user_float
187 #define ctf_user_float(_type, _item, _user_src)
188
189 #undef ctf_user_array
190 #define ctf_user_array(_type, _item, _user_src, _length)
191
192 #undef ctf_user_array_text
193 #define ctf_user_array_text(_type, _item, _user_src, _length)
194
195 #undef ctf_user_array_bitfield
196 #define ctf_user_array_bitfield(_type, _item, _src, _length)
197
198 #undef ctf_user_sequence
199 #define ctf_user_sequence(_type, _item, _user_src, _length_type, _user_src_length)
200
201 #undef ctf_user_sequence_text
202 #define ctf_user_sequence_text(_type, _item, _user_src, _length_type, _user_src_length)
203
204 #undef ctf_user_sequence_bitfield
205 #define ctf_user_sequence_bitfield(_type, _item, _src, _length_type, _src_length)
206
207 #undef ctf_user_string
208 #define ctf_user_string(_item, _user_src)
209
210 /* "user" - "nowrite" */
211 #undef ctf_user_integer_nowrite
212 #define ctf_user_integer_nowrite(_type, _item, _user_src)
213
214 #undef ctf_user_float_nowrite
215 #define ctf_user_float_nowrite(_type, _item, _user_src)
216
217 #undef ctf_user_array_nowrite
218 #define ctf_user_array_nowrite(_type, _item, _user_src, _length)
219
220 #undef ctf_user_array_text_nowrite
221 #define ctf_user_array_text_nowrite(_type, _item, _user_src, _length)
222
223 #undef ctf_user_array_bitfield_nowrite
224 #define ctf_user_array_bitfield_nowrite(_type, _item, _src, _length)
225
226 #undef ctf_user_sequence_nowrite
227 #define ctf_user_sequence_nowrite(_type, _item, _user_src, _length_type, _user_src_length)
228
229 #undef ctf_user_sequence_text_nowrite
230 #define ctf_user_sequence_text_nowrite(_type, _item, _user_src, _length_type, _user_src_length)
231
232 #undef ctf_user_sequence_bitfield_nowrite
233 #define ctf_user_sequence_bitfield_nowrite(_type, _item, _src, _length_type, _src_length)
234
235 #undef ctf_user_string_nowrite
236 #define ctf_user_string_nowrite(_item, _user_src)
This page took 0.050413 seconds and 3 git commands to generate.