| 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 TRACE_EVENT to "nothing" */ |
| 22 | |
| 23 | #undef __field_full |
| 24 | #define __field_full(_type, _item, _order, _base) |
| 25 | |
| 26 | #undef __array_enc_ext |
| 27 | #define __array_enc_ext(_type, _item, _length, _order, _base, _encoding) |
| 28 | |
| 29 | #undef __dynamic_array_enc_ext |
| 30 | #define __dynamic_array_enc_ext(_type, _item, _length, _order, _base, _encoding) |
| 31 | |
| 32 | #undef __dynamic_array_enc_ext_2 |
| 33 | #define __dynamic_array_enc_ext_2(_type, _item, _length1, _length2, _order, _base, _encoding) |
| 34 | |
| 35 | #undef __dynamic_array_len |
| 36 | #define __dynamic_array_len(_type, _item, _length) |
| 37 | |
| 38 | #undef __string |
| 39 | #define __string(_item, _src) |
| 40 | |
| 41 | #undef tp_assign |
| 42 | #define tp_assign(dest, src) |
| 43 | |
| 44 | #undef tp_memcpy |
| 45 | #define tp_memcpy(dest, src, len) |
| 46 | |
| 47 | #undef tp_memcpy_dyn |
| 48 | #define tp_memcpy_dyn(dest, src, len) |
| 49 | |
| 50 | #undef tp_strcpy |
| 51 | #define tp_strcpy(dest, src) |
| 52 | |
| 53 | #undef __get_str |
| 54 | #define __get_str(field) |
| 55 | |
| 56 | #undef __get_dynamic_array |
| 57 | #define __get_dynamic_array(field) |
| 58 | |
| 59 | #undef __get_dynamic_array_len |
| 60 | #define __get_dynamic_array_len(field) |
| 61 | |
| 62 | #undef TP_PROTO |
| 63 | #define TP_PROTO(args...) |
| 64 | |
| 65 | #undef TP_ARGS |
| 66 | #define TP_ARGS(args...) |
| 67 | |
| 68 | #undef TP_locvar |
| 69 | #define TP_locvar(...) |
| 70 | |
| 71 | #undef TP_code |
| 72 | #define TP_code(...) |
| 73 | |
| 74 | #undef TP_STRUCT__entry |
| 75 | #define TP_STRUCT__entry(args...) |
| 76 | |
| 77 | #undef TP_fast_assign |
| 78 | #define TP_fast_assign(args...) |
| 79 | |
| 80 | #undef __perf_count |
| 81 | #define __perf_count(args...) |
| 82 | |
| 83 | #undef __perf_addr |
| 84 | #define __perf_addr(args...) |
| 85 | |
| 86 | #undef TP_perf_assign |
| 87 | #define TP_perf_assign(args...) |
| 88 | |
| 89 | #undef TP_printk |
| 90 | #define TP_printk(args...) |
| 91 | |
| 92 | #undef LTTNG_TRACEPOINT_EVENT_CLASS_CODE |
| 93 | #define LTTNG_TRACEPOINT_EVENT_CLASS_CODE(_name, _proto, _args, _locvar, _code, _tstruct, _assign, _print) |
| 94 | |
| 95 | #undef LTTNG_TRACEPOINT_EVENT_CLASS_CODE_NOARGS |
| 96 | #define LTTNG_TRACEPOINT_EVENT_CLASS_CODE_NOARGS(_name, _locvar, _code, _tstruct, _assign, _print) |
| 97 | |
| 98 | #undef LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP |
| 99 | #define LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(_template, _name, _map, _proto, _args) |
| 100 | |
| 101 | #undef LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP_NOARGS |
| 102 | #define LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP_NOARGS(_template, _name, _map) |