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