| 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 | /* "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 | |
| 146 | #undef ctf_array_bitfield_nowrite |
| 147 | #define ctf_array_bitfield_nowrite(_type, _item, _src, _length) |
| 148 | |
| 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 | |
| 155 | #undef ctf_sequence_bitfield_nowrite |
| 156 | #define ctf_sequence_bitfield_nowrite(_type, _item, _src, _length_type, _src_length) |
| 157 | |
| 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 | |
| 183 | #undef ctf_user_array_bitfield |
| 184 | #define ctf_user_array_bitfield(_type, _item, _src, _length) |
| 185 | |
| 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 | |
| 192 | #undef ctf_user_sequence_bitfield |
| 193 | #define ctf_user_sequence_bitfield(_type, _item, _src, _length_type, _src_length) |
| 194 | |
| 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 | |
| 211 | #undef ctf_user_array_bitfield_nowrite |
| 212 | #define ctf_user_array_bitfield_nowrite(_type, _item, _src, _length) |
| 213 | |
| 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 | |
| 220 | #undef ctf_user_sequence_bitfield_nowrite |
| 221 | #define ctf_user_sequence_bitfield_nowrite(_type, _item, _src, _length_type, _src_length) |
| 222 | |
| 223 | #undef ctf_user_string_nowrite |
| 224 | #define ctf_user_string_nowrite(_item, _user_src) |