Implement array and sequence bitfields
[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, _fields)
25
26 #undef LTTNG_TRACEPOINT_EVENT_CLASS_CODE_NOARGS
27 #define LTTNG_TRACEPOINT_EVENT_CLASS_CODE_NOARGS(_name, _locvar, _code, _fields)
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
45 #define TP_code(...)
46
47 #undef TP_FIELDS
48 #define TP_FIELDS(args...)
49
50 #undef _ctf_integer_ext
51 #define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, \
52 _user, _nowrite)
53
54 #undef _ctf_integer_ext_isuser0
55 #define _ctf_integer_ext_isuser0(_type, _item, _src, _byte_order, _base, \
56 _nowrite)
57
58 #undef _ctf_integer_ext_isuser1
59 #define _ctf_integer_ext_isuser1(_type, _item, _src, _byte_order, _base, \
60 _nowrite)
61
62 #undef _ctf_integer_ext_fetched
63 #define _ctf_integer_ext_fetched(_type, _item, _src, _byte_order, _base, \
64 _nowrite)
65
66 #undef _ctf_array_encoded
67 #define _ctf_array_encoded(_type, _item, _src, _length, _encoding, \
68 _user, _nowrite)
69
70 #undef _ctf_array_bitfield
71 #define _ctf_array_bitfield(_type, _item, _src, _length, _user, _nowrite)
72
73 #undef _ctf_sequence_encoded
74 #define _ctf_sequence_encoded(_type, _item, _src, _length_type, \
75 _src_length, _encoding, _byte_order, _base, _user, _nowrite)
76
77 #undef _ctf_sequence_bitfield
78 #define _ctf_sequence_bitfield(_type, _item, _src, _length_type, \
79 _src_length, _byte_order, _user, _nowrite)
80
81 #undef _ctf_string
82 #define _ctf_string(_item, _src, _user, _nowrite)
83
84 /* "write" */
85 #undef ctf_integer
86 #define ctf_integer(_type, _item, _src)
87
88 #undef ctf_integer_hex
89 #define ctf_integer_hex(_type, _item, _src)
90
91 #undef ctf_integer_oct
92 #define ctf_integer_oct(_type, _item, _src)
93
94 #undef ctf_integer_network
95 #define ctf_integer_network(_type, _item, _src)
96
97 #undef ctf_integer_network_hex
98 #define ctf_integer_network_hex(_type, _item, _src)
99
100 #undef ctf_float
101 #define ctf_float(_type, _item, _src)
102
103 #undef ctf_array
104 #define ctf_array(_type, _item, _src, _length)
105
106 #undef ctf_array_text
107 #define ctf_array_text(_type, _item, _src, _length)
108
109 #undef ctf_array_bitfield
110 #define ctf_array_bitfield(_type, _item, _src, _length)
111
112 #undef ctf_sequence
113 #define ctf_sequence(_type, _item, _src, _length_type, _src_length)
114
115 #undef ctf_sequence_hex
116 #define ctf_sequence_hex(_type, _item, _src, _length_type, _src_length)
117
118 #undef ctf_sequence_network
119 #define ctf_sequence_network(_type, _item, _src, _length_type, _src_length)
120
121 #undef ctf_sequence_text
122 #define ctf_sequence_text(_type, _item, _src, _length_type, _src_length)
123
124 #undef ctf_sequence_bitfield
125 #define ctf_sequence_bitfield(_type, _item, _src, _length_type, _src_length)
126
127 #undef ctf_string
128 #define ctf_string(_item, _src)
129
130 /* "nowrite" */
131 #undef ctf_integer_nowrite
132 #define ctf_integer_nowrite(_type, _item, _src)
133
134 #undef ctf_float_nowrite
135 #define ctf_float_nowrite(_type, _item, _src)
136
137 #undef ctf_array_nowrite
138 #define ctf_array_nowrite(_type, _item, _src, _length)
139
140 #undef ctf_array_text_nowrite
141 #define ctf_array_text_nowrite(_type, _item, _src, _length)
142
143 #undef ctf_array_bitfield_nowrite
144 #define ctf_array_bitfield_nowrite(_type, _item, _src, _length)
145
146 #undef ctf_sequence_nowrite
147 #define ctf_sequence_nowrite(_type, _item, _src, _length_type, _src_length)
148
149 #undef ctf_sequence_text_nowrite
150 #define ctf_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length)
151
152 #undef ctf_sequence_bitfield_nowrite
153 #define ctf_sequence_bitfield_nowrite(_type, _item, _src, _length_type, _src_length)
154
155 #undef ctf_string_nowrite
156 #define ctf_string_nowrite(_item, _src)
157
158 /* "user" - "write" */
159 #undef ctf_user_integer
160 #define ctf_user_integer(_type, _item, _user_src)
161
162 #undef ctf_user_integer_hex
163 #define ctf_user_integer_hex(_type, _item, _user_src)
164
165 #undef ctf_user_integer_network
166 #define ctf_user_integer_network(_type, _item, _user_src)
167
168 #undef ctf_user_integer_network_hex
169 #define ctf_user_integer_network_hex(_type, _item, _user_src)
170
171 #undef ctf_user_float
172 #define ctf_user_float(_type, _item, _user_src)
173
174 #undef ctf_user_array
175 #define ctf_user_array(_type, _item, _user_src, _length)
176
177 #undef ctf_user_array_text
178 #define ctf_user_array_text(_type, _item, _user_src, _length)
179
180 #undef ctf_user_array_bitfield
181 #define ctf_user_array_bitfield(_type, _item, _src, _length)
182
183 #undef ctf_user_sequence
184 #define ctf_user_sequence(_type, _item, _user_src, _length_type, _user_src_length)
185
186 #undef ctf_user_sequence_text
187 #define ctf_user_sequence_text(_type, _item, _user_src, _length_type, _user_src_length)
188
189 #undef ctf_user_sequence_bitfield
190 #define ctf_user_sequence_bitfield(_type, _item, _src, _length_type, _src_length)
191
192 #undef ctf_user_string
193 #define ctf_user_string(_item, _user_src)
194
195 /* "user" - "nowrite" */
196 #undef ctf_user_integer_nowrite
197 #define ctf_user_integer_nowrite(_type, _item, _user_src)
198
199 #undef ctf_user_float_nowrite
200 #define ctf_user_float_nowrite(_type, _item, _user_src)
201
202 #undef ctf_user_array_nowrite
203 #define ctf_user_array_nowrite(_type, _item, _user_src, _length)
204
205 #undef ctf_user_array_text_nowrite
206 #define ctf_user_array_text_nowrite(_type, _item, _user_src, _length)
207
208 #undef ctf_user_array_bitfield_nowrite
209 #define ctf_user_array_bitfield_nowrite(_type, _item, _src, _length)
210
211 #undef ctf_user_sequence_nowrite
212 #define ctf_user_sequence_nowrite(_type, _item, _user_src, _length_type, _user_src_length)
213
214 #undef ctf_user_sequence_text_nowrite
215 #define ctf_user_sequence_text_nowrite(_type, _item, _user_src, _length_type, _user_src_length)
216
217 #undef ctf_user_sequence_bitfield_nowrite
218 #define ctf_user_sequence_bitfield_nowrite(_type, _item, _src, _length_type, _src_length)
219
220 #undef ctf_user_string_nowrite
221 #define ctf_user_string_nowrite(_item, _user_src)
This page took 0.033687 seconds and 4 git commands to generate.