| 1 | /* |
| 2 | * Copyright (c) 2011 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
| 3 | * |
| 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: |
| 10 | * |
| 11 | * The above copyright notice and this permission notice shall be included in |
| 12 | * all copies or substantial portions of the Software. |
| 13 | */ |
| 14 | |
| 15 | /* Define to "nothing" all macros used for TRACEPOINT_EVENT */ |
| 16 | |
| 17 | #undef TRACEPOINT_EVENT_CLASS |
| 18 | #define TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) |
| 19 | |
| 20 | #undef TRACEPOINT_EVENT_INSTANCE |
| 21 | #define TRACEPOINT_EVENT_INSTANCE(_provider, _template, _name, _args) |
| 22 | |
| 23 | #undef TP_ARGS |
| 24 | #define TP_ARGS(...) |
| 25 | |
| 26 | #undef TP_FIELDS |
| 27 | #define TP_FIELDS(...) |
| 28 | |
| 29 | #undef TRACEPOINT_LOGLEVEL_ENUM |
| 30 | #define TRACEPOINT_LOGLEVEL_ENUM(...) |
| 31 | |
| 32 | #undef TRACEPOINT_LOGLEVEL |
| 33 | #define TRACEPOINT_LOGLEVEL(provider, name, loglevel) |
| 34 | |
| 35 | #undef TRACEPOINT_MODEL_EMF_URI |
| 36 | #define TRACEPOINT_MODEL_EMF_URI(provider, name, uri) |
| 37 | |
| 38 | #undef _ctf_integer_ext |
| 39 | #define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, \ |
| 40 | _nowrite) |
| 41 | |
| 42 | #undef _ctf_float |
| 43 | #define _ctf_float(_type, _item, _src, _nowrite) |
| 44 | |
| 45 | #undef _ctf_array_encoded |
| 46 | #define _ctf_array_encoded(_type, _item, _src, _length, _encoding, \ |
| 47 | _nowrite) |
| 48 | |
| 49 | #undef _ctf_sequence_encoded |
| 50 | #define _ctf_sequence_encoded(_type, _item, _src, _length_type, \ |
| 51 | _src_length, _encoding, _nowrite) |
| 52 | |
| 53 | #undef _ctf_string |
| 54 | #define _ctf_string(_item, _src, _nowrite) |
| 55 | |
| 56 | /* "write" */ |
| 57 | #undef ctf_integer |
| 58 | #define ctf_integer(_type, _item, _src) |
| 59 | |
| 60 | #undef ctf_integer_hex |
| 61 | #define ctf_integer_hex(_type, _item, _src) |
| 62 | |
| 63 | #undef ctf_integer_network |
| 64 | #define ctf_integer_network(_type, _item, _src) |
| 65 | |
| 66 | #undef ctf_integer_network_hex |
| 67 | #define ctf_integer_network_hex(_type, _item, _src) |
| 68 | |
| 69 | #undef ctf_float |
| 70 | #define ctf_float(_type, _item, _src) |
| 71 | |
| 72 | #undef ctf_array |
| 73 | #define ctf_array(_type, _item, _src, _length) |
| 74 | |
| 75 | #undef ctf_array_text |
| 76 | #define ctf_array_text(_type, _item, _src, _length) |
| 77 | |
| 78 | #undef ctf_sequence |
| 79 | #define ctf_sequence(_type, _item, _src, _length_type, _src_length) |
| 80 | |
| 81 | #undef ctf_sequence_text |
| 82 | #define ctf_sequence_text(_type, _item, _src, _length_type, _src_length) |
| 83 | |
| 84 | #undef ctf_string |
| 85 | #define ctf_string(_item, _src) |
| 86 | |
| 87 | /* "nowrite" */ |
| 88 | #undef ctf_integer_nowrite |
| 89 | #define ctf_integer_nowrite(_type, _item, _src) |
| 90 | |
| 91 | #undef ctf_float_nowrite |
| 92 | #define ctf_float_nowrite(_type, _item, _src) |
| 93 | |
| 94 | #undef ctf_array_nowrite |
| 95 | #define ctf_array_nowrite(_type, _item, _src, _length) |
| 96 | |
| 97 | #undef ctf_array_text_nowrite |
| 98 | #define ctf_array_text_nowrite(_type, _item, _src, _length) |
| 99 | |
| 100 | #undef ctf_sequence_nowrite |
| 101 | #define ctf_sequence_nowrite(_type, _item, _src, _length_type, _src_length) |
| 102 | |
| 103 | #undef ctf_sequence_text_nowrite |
| 104 | #define ctf_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length) |
| 105 | |
| 106 | #undef ctf_string_nowrite |
| 107 | #define ctf_string_nowrite(_item, _src) |