| 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 ctf_integer_ext |
| 30 | #define ctf_integer_ext(_type, _item, _src, _byte_order, _base) |
| 31 | |
| 32 | #undef ctf_float |
| 33 | #define ctf_float(_type, _item, _src) |
| 34 | |
| 35 | #undef ctf_array_encoded |
| 36 | #define ctf_array_encoded(_type, _item, _src, _length, _encoding) |
| 37 | |
| 38 | #undef ctf_sequence_encoded |
| 39 | #define ctf_sequence_encoded(_type, _item, _src, _length_type, \ |
| 40 | _src_length, _encoding) |
| 41 | |
| 42 | #undef ctf_string |
| 43 | #define ctf_string(_item, _src) |
| 44 | |
| 45 | #undef TRACEPOINT_LOGLEVEL_ENUM |
| 46 | #define TRACEPOINT_LOGLEVEL_ENUM(...) |
| 47 | |
| 48 | #undef TRACEPOINT_LOGLEVEL |
| 49 | #define TRACEPOINT_LOGLEVEL(provider, name, loglevel) |