Commit | Line | Data |
---|---|---|
d854088d MD |
1 | /* |
2 | * Copyright (c) 2011 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
3 | * | |
e92f3e28 MD |
4 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
5 | * of this software and associated documentation files (the "Software"), to deal | |
6 | * in the Software without restriction, including without limitation the rights | |
7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
8 | * copies of the Software, and to permit persons to whom the Software is | |
9 | * furnished to do so, subject to the following conditions: | |
d854088d | 10 | * |
e92f3e28 MD |
11 | * The above copyright notice and this permission notice shall be included in |
12 | * all copies or substantial portions of the Software. | |
d2428e87 MD |
13 | * |
14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
17 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
20 | * SOFTWARE. | |
d854088d MD |
21 | */ |
22 | ||
23 | /* Define to "nothing" all macros used for TRACEPOINT_EVENT */ | |
24 | ||
d854088d MD |
25 | #undef TRACEPOINT_EVENT_CLASS |
26 | #define TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) | |
27 | ||
28 | #undef TRACEPOINT_EVENT_INSTANCE | |
29 | #define TRACEPOINT_EVENT_INSTANCE(_provider, _template, _name, _args) | |
30 | ||
c785c634 MD |
31 | #undef TRACEPOINT_ENUM |
32 | #define TRACEPOINT_ENUM(_provider, _name, _values) | |
33 | ||
d854088d MD |
34 | #undef TP_ARGS |
35 | #define TP_ARGS(...) | |
36 | ||
37 | #undef TP_FIELDS | |
38 | #define TP_FIELDS(...) | |
39 | ||
4774c8f3 MD |
40 | #undef TRACEPOINT_LOGLEVEL_ENUM |
41 | #define TRACEPOINT_LOGLEVEL_ENUM(...) | |
42 | ||
43 | #undef TRACEPOINT_LOGLEVEL | |
44 | #define TRACEPOINT_LOGLEVEL(provider, name, loglevel) | |
45 | ||
6ddc916d MD |
46 | #undef TRACEPOINT_MODEL_EMF_URI |
47 | #define TRACEPOINT_MODEL_EMF_URI(provider, name, uri) | |
48 | ||
4774c8f3 MD |
49 | #undef _ctf_integer_ext |
50 | #define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, \ | |
180901e6 | 51 | _nowrite) |
4774c8f3 MD |
52 | |
53 | #undef _ctf_float | |
180901e6 | 54 | #define _ctf_float(_type, _item, _src, _nowrite) |
4774c8f3 MD |
55 | |
56 | #undef _ctf_array_encoded | |
f3ec4cb5 MD |
57 | #define _ctf_array_encoded(_type, _item, _src, _byte_order, _length, _encoding, \ |
58 | _nowrite, _elem_type_base) | |
4774c8f3 MD |
59 | |
60 | #undef _ctf_sequence_encoded | |
48d660d1 | 61 | #define _ctf_sequence_encoded(_type, _item, _src, _byte_order, _length_type, \ |
f968510a | 62 | _src_length, _encoding, _nowrite, _elem_type_base) |
4774c8f3 MD |
63 | |
64 | #undef _ctf_string | |
180901e6 | 65 | #define _ctf_string(_item, _src, _nowrite) |
4774c8f3 | 66 | |
c785c634 MD |
67 | #undef _ctf_enum |
68 | #define _ctf_enum(_provider, _name, _type, _item, _src, _nowrite) | |
69 | ||
4774c8f3 MD |
70 | /* "write" */ |
71 | #undef ctf_integer | |
72 | #define ctf_integer(_type, _item, _src) | |
73 | ||
74 | #undef ctf_integer_hex | |
75 | #define ctf_integer_hex(_type, _item, _src) | |
76 | ||
77 | #undef ctf_integer_network | |
78 | #define ctf_integer_network(_type, _item, _src) | |
79 | ||
80 | #undef ctf_integer_network_hex | |
81 | #define ctf_integer_network_hex(_type, _item, _src) | |
d854088d MD |
82 | |
83 | #undef ctf_float | |
84 | #define ctf_float(_type, _item, _src) | |
85 | ||
4774c8f3 MD |
86 | #undef ctf_array |
87 | #define ctf_array(_type, _item, _src, _length) | |
88 | ||
35ebe09b MD |
89 | #undef ctf_array_hex |
90 | #define ctf_array_hex(_type, _item, _src, _length) | |
91 | ||
92 | #undef ctf_array_network | |
93 | #define ctf_array_network(_type, _item, _src, _length) | |
94 | ||
95 | #undef ctf_array_network_hex | |
96 | #define ctf_array_network_hex(_type, _item, _src, _length) | |
97 | ||
4774c8f3 MD |
98 | #undef ctf_array_text |
99 | #define ctf_array_text(_type, _item, _src, _length) | |
100 | ||
101 | #undef ctf_sequence | |
102 | #define ctf_sequence(_type, _item, _src, _length_type, _src_length) | |
d854088d | 103 | |
35ebe09b MD |
104 | #undef ctf_sequence_hex |
105 | #define ctf_sequence_hex(_type, _item, _src, _length_type, _src_length) | |
106 | ||
107 | #undef ctf_sequence_network | |
108 | #define ctf_sequence_network(_type, _item, _src, _length_type, _src_length) | |
109 | ||
110 | #undef ctf_sequence_network_hex | |
111 | #define ctf_sequence_network_hex(_type, _item, _src, _length_type, _src_length) | |
112 | ||
4774c8f3 MD |
113 | #undef ctf_sequence_text |
114 | #define ctf_sequence_text(_type, _item, _src, _length_type, _src_length) | |
d854088d MD |
115 | |
116 | #undef ctf_string | |
117 | #define ctf_string(_item, _src) | |
05ceaafd | 118 | |
c785c634 MD |
119 | #undef ctf_enum |
120 | #define ctf_enum(_provider, _name, _type, _item, _src) | |
121 | ||
4774c8f3 MD |
122 | /* "nowrite" */ |
123 | #undef ctf_integer_nowrite | |
124 | #define ctf_integer_nowrite(_type, _item, _src) | |
05ceaafd | 125 | |
4774c8f3 MD |
126 | #undef ctf_float_nowrite |
127 | #define ctf_float_nowrite(_type, _item, _src) | |
128 | ||
129 | #undef ctf_array_nowrite | |
130 | #define ctf_array_nowrite(_type, _item, _src, _length) | |
131 | ||
35ebe09b MD |
132 | #undef ctf_array_nowrite_hex |
133 | #define ctf_array_nowrite_hex(_type, _item, _src, _length) | |
134 | ||
135 | #undef ctf_array_network_nowrite | |
136 | #define ctf_array_network_nowrite(_type, _item, _src, _length) | |
137 | ||
138 | #undef ctf_array_network_nowrite_hex | |
139 | #define ctf_array_network_nowrite_hex(_type, _item, _src, _length) | |
140 | ||
4774c8f3 MD |
141 | #undef ctf_array_text_nowrite |
142 | #define ctf_array_text_nowrite(_type, _item, _src, _length) | |
143 | ||
144 | #undef ctf_sequence_nowrite | |
145 | #define ctf_sequence_nowrite(_type, _item, _src, _length_type, _src_length) | |
146 | ||
35ebe09b MD |
147 | #undef ctf_sequence_nowrite_hex |
148 | #define ctf_sequence_nowrite_hex(_type, _item, _src, _length_type, _src_length) | |
149 | ||
150 | #undef ctf_sequence_network_nowrite | |
151 | #define ctf_sequence_network_nowrite(_type, _item, _src, _length_type, _src_length) | |
152 | ||
153 | #undef ctf_sequence_network_nowrite_hex | |
154 | #define ctf_sequence_network_nowrite_hex(_type, _item, _src, _length_type, _src_length) | |
155 | ||
4774c8f3 MD |
156 | #undef ctf_sequence_text_nowrite |
157 | #define ctf_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length) | |
158 | ||
159 | #undef ctf_string_nowrite | |
160 | #define ctf_string_nowrite(_item, _src) | |
c785c634 MD |
161 | |
162 | #undef ctf_enum_nowrite | |
163 | #define ctf_enum_nowrite(_provider, _name, _type, _item, _src) |