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 | ||
31 | #undef TP_ARGS | |
32 | #define TP_ARGS(...) | |
33 | ||
34 | #undef TP_FIELDS | |
35 | #define TP_FIELDS(...) | |
36 | ||
4774c8f3 MD |
37 | #undef TRACEPOINT_LOGLEVEL_ENUM |
38 | #define TRACEPOINT_LOGLEVEL_ENUM(...) | |
39 | ||
40 | #undef TRACEPOINT_LOGLEVEL | |
41 | #define TRACEPOINT_LOGLEVEL(provider, name, loglevel) | |
42 | ||
6ddc916d MD |
43 | #undef TRACEPOINT_MODEL_EMF_URI |
44 | #define TRACEPOINT_MODEL_EMF_URI(provider, name, uri) | |
45 | ||
4774c8f3 MD |
46 | #undef _ctf_integer_ext |
47 | #define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, \ | |
180901e6 | 48 | _nowrite) |
4774c8f3 MD |
49 | |
50 | #undef _ctf_float | |
180901e6 | 51 | #define _ctf_float(_type, _item, _src, _nowrite) |
4774c8f3 MD |
52 | |
53 | #undef _ctf_array_encoded | |
54 | #define _ctf_array_encoded(_type, _item, _src, _length, _encoding, \ | |
180901e6 | 55 | _nowrite) |
4774c8f3 MD |
56 | |
57 | #undef _ctf_sequence_encoded | |
58 | #define _ctf_sequence_encoded(_type, _item, _src, _length_type, \ | |
f968510a | 59 | _src_length, _encoding, _nowrite, _elem_type_base) |
4774c8f3 MD |
60 | |
61 | #undef _ctf_string | |
180901e6 | 62 | #define _ctf_string(_item, _src, _nowrite) |
4774c8f3 MD |
63 | |
64 | /* "write" */ | |
65 | #undef ctf_integer | |
66 | #define ctf_integer(_type, _item, _src) | |
67 | ||
68 | #undef ctf_integer_hex | |
69 | #define ctf_integer_hex(_type, _item, _src) | |
70 | ||
71 | #undef ctf_integer_network | |
72 | #define ctf_integer_network(_type, _item, _src) | |
73 | ||
74 | #undef ctf_integer_network_hex | |
75 | #define ctf_integer_network_hex(_type, _item, _src) | |
d854088d MD |
76 | |
77 | #undef ctf_float | |
78 | #define ctf_float(_type, _item, _src) | |
79 | ||
4774c8f3 MD |
80 | #undef ctf_array |
81 | #define ctf_array(_type, _item, _src, _length) | |
82 | ||
83 | #undef ctf_array_text | |
84 | #define ctf_array_text(_type, _item, _src, _length) | |
85 | ||
86 | #undef ctf_sequence | |
87 | #define ctf_sequence(_type, _item, _src, _length_type, _src_length) | |
d854088d | 88 | |
4774c8f3 MD |
89 | #undef ctf_sequence_text |
90 | #define ctf_sequence_text(_type, _item, _src, _length_type, _src_length) | |
d854088d MD |
91 | |
92 | #undef ctf_string | |
93 | #define ctf_string(_item, _src) | |
05ceaafd | 94 | |
4774c8f3 MD |
95 | /* "nowrite" */ |
96 | #undef ctf_integer_nowrite | |
97 | #define ctf_integer_nowrite(_type, _item, _src) | |
05ceaafd | 98 | |
4774c8f3 MD |
99 | #undef ctf_float_nowrite |
100 | #define ctf_float_nowrite(_type, _item, _src) | |
101 | ||
102 | #undef ctf_array_nowrite | |
103 | #define ctf_array_nowrite(_type, _item, _src, _length) | |
104 | ||
105 | #undef ctf_array_text_nowrite | |
106 | #define ctf_array_text_nowrite(_type, _item, _src, _length) | |
107 | ||
108 | #undef ctf_sequence_nowrite | |
109 | #define ctf_sequence_nowrite(_type, _item, _src, _length_type, _src_length) | |
110 | ||
111 | #undef ctf_sequence_text_nowrite | |
112 | #define ctf_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length) | |
113 | ||
114 | #undef ctf_string_nowrite | |
115 | #define ctf_string_nowrite(_item, _src) |