Migrate tracepoint instrumentation to TP_FIELDS
[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_sequence_encoded
71 #define _ctf_sequence_encoded(_type, _item, _src, _length_type, \
72 _src_length, _encoding, _base, _user, _nowrite)
73
74 #undef _ctf_string
75 #define _ctf_string(_item, _src, _user, _nowrite)
76
77 /* "write" */
78 #undef ctf_integer
79 #define ctf_integer(_type, _item, _src)
80
81 #undef ctf_integer_hex
82 #define ctf_integer_hex(_type, _item, _src)
83
84 #undef ctf_integer_oct
85 #define ctf_integer_oct(_type, _item, _src)
86
87 #undef ctf_integer_network
88 #define ctf_integer_network(_type, _item, _src)
89
90 #undef ctf_integer_network_hex
91 #define ctf_integer_network_hex(_type, _item, _src)
92
93 #undef ctf_float
94 #define ctf_float(_type, _item, _src)
95
96 #undef ctf_array
97 #define ctf_array(_type, _item, _src, _length)
98
99 #undef ctf_array_text
100 #define ctf_array_text(_type, _item, _src, _length)
101
102 #undef ctf_sequence
103 #define ctf_sequence(_type, _item, _src, _length_type, _src_length)
104
105 #undef ctf_sequence_hex
106 #define ctf_sequence_hex(_type, _item, _src, _length_type, _src_length)
107
108 #undef ctf_sequence_text
109 #define ctf_sequence_text(_type, _item, _src, _length_type, _src_length)
110
111 #undef ctf_string
112 #define ctf_string(_item, _src)
113
114 /* "nowrite" */
115 #undef ctf_integer_nowrite
116 #define ctf_integer_nowrite(_type, _item, _src)
117
118 #undef ctf_float_nowrite
119 #define ctf_float_nowrite(_type, _item, _src)
120
121 #undef ctf_array_nowrite
122 #define ctf_array_nowrite(_type, _item, _src, _length)
123
124 #undef ctf_array_text_nowrite
125 #define ctf_array_text_nowrite(_type, _item, _src, _length)
126
127 #undef ctf_sequence_nowrite
128 #define ctf_sequence_nowrite(_type, _item, _src, _length_type, _src_length)
129
130 #undef ctf_sequence_text_nowrite
131 #define ctf_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length)
132
133 #undef ctf_string_nowrite
134 #define ctf_string_nowrite(_item, _src)
135
136 /* "user" - "write" */
137 #undef ctf_user_integer
138 #define ctf_user_integer(_type, _item, _user_src)
139
140 #undef ctf_user_integer_hex
141 #define ctf_user_integer_hex(_type, _item, _user_src)
142
143 #undef ctf_user_integer_network
144 #define ctf_user_integer_network(_type, _item, _user_src)
145
146 #undef ctf_user_integer_network_hex
147 #define ctf_user_integer_network_hex(_type, _item, _user_src)
148
149 #undef ctf_user_float
150 #define ctf_user_float(_type, _item, _user_src)
151
152 #undef ctf_user_array
153 #define ctf_user_array(_type, _item, _user_src, _length)
154
155 #undef ctf_user_array_text
156 #define ctf_user_array_text(_type, _item, _user_src, _length)
157
158 #undef ctf_user_sequence
159 #define ctf_user_sequence(_type, _item, _user_src, _length_type, _user_src_length)
160
161 #undef ctf_user_sequence_text
162 #define ctf_user_sequence_text(_type, _item, _user_src, _length_type, _user_src_length)
163
164 #undef ctf_user_string
165 #define ctf_user_string(_item, _user_src)
166
167 /* "user" - "nowrite" */
168 #undef ctf_user_integer_nowrite
169 #define ctf_user_integer_nowrite(_type, _item, _user_src)
170
171 #undef ctf_user_float_nowrite
172 #define ctf_user_float_nowrite(_type, _item, _user_src)
173
174 #undef ctf_user_array_nowrite
175 #define ctf_user_array_nowrite(_type, _item, _user_src, _length)
176
177 #undef ctf_user_array_text_nowrite
178 #define ctf_user_array_text_nowrite(_type, _item, _user_src, _length)
179
180 #undef ctf_user_sequence_nowrite
181 #define ctf_user_sequence_nowrite(_type, _item, _user_src, _length_type, _user_src_length)
182
183 #undef ctf_user_sequence_text_nowrite
184 #define ctf_user_sequence_text_nowrite(_type, _item, _user_src, _length_type, _user_src_length)
185
186 #undef ctf_user_string_nowrite
187 #define ctf_user_string_nowrite(_item, _user_src)
This page took 0.033543 seconds and 4 git commands to generate.