Fix: ust-tracepoint: make sure to expand tracepoint provider token
[lttng-ust.git] / include / lttng / ust-tracepoint-event-reset.h
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 * 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.
21 */
22
23 /* Define to "nothing" all macros used for TRACEPOINT_EVENT */
24
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 TRACEPOINT_ENUM
32 #define TRACEPOINT_ENUM(_provider, _name, _values)
33
34 #undef TP_ARGS
35 #define TP_ARGS(...)
36
37 #undef TP_FIELDS
38 #define TP_FIELDS(...)
39
40 #undef TRACEPOINT_LOGLEVEL_ENUM
41 #define TRACEPOINT_LOGLEVEL_ENUM(...)
42
43 #undef TRACEPOINT_LOGLEVEL
44 #define TRACEPOINT_LOGLEVEL(provider, name, loglevel)
45
46 #undef TRACEPOINT_MODEL_EMF_URI
47 #define TRACEPOINT_MODEL_EMF_URI(provider, name, uri)
48
49 #undef _ctf_integer_ext
50 #define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, \
51 _nowrite)
52
53 #undef _ctf_float
54 #define _ctf_float(_type, _item, _src, _nowrite)
55
56 #undef _ctf_array_encoded
57 #define _ctf_array_encoded(_type, _item, _src, _byte_order, _length, _encoding, \
58 _nowrite, _elem_type_base)
59
60 #undef _ctf_sequence_encoded
61 #define _ctf_sequence_encoded(_type, _item, _src, _byte_order, _length_type, \
62 _src_length, _encoding, _nowrite, _elem_type_base)
63
64 #undef _ctf_string
65 #define _ctf_string(_item, _src, _nowrite)
66
67 #undef _ctf_enum
68 #define _ctf_enum(_provider, _name, _type, _item, _src, _nowrite)
69
70 /* "write" */
71 #undef ctf_integer
72 #define ctf_integer(_type, _item, _src)
73
74 #undef ctf_integer_hex
75 #define ctf_integer_hex(_type, _item, _src)
76
77 #undef ctf_integer_network
78 #define ctf_integer_network(_type, _item, _src)
79
80 #undef ctf_integer_network_hex
81 #define ctf_integer_network_hex(_type, _item, _src)
82
83 #undef ctf_float
84 #define ctf_float(_type, _item, _src)
85
86 #undef ctf_array
87 #define ctf_array(_type, _item, _src, _length)
88
89 #undef ctf_array_hex
90 #define ctf_array_hex(_type, _item, _src, _length)
91
92 #undef ctf_array_network
93 #define ctf_array_network(_type, _item, _src, _length)
94
95 #undef ctf_array_network_hex
96 #define ctf_array_network_hex(_type, _item, _src, _length)
97
98 #undef ctf_array_text
99 #define ctf_array_text(_type, _item, _src, _length)
100
101 #undef ctf_sequence
102 #define ctf_sequence(_type, _item, _src, _length_type, _src_length)
103
104 #undef ctf_sequence_hex
105 #define ctf_sequence_hex(_type, _item, _src, _length_type, _src_length)
106
107 #undef ctf_sequence_network
108 #define ctf_sequence_network(_type, _item, _src, _length_type, _src_length)
109
110 #undef ctf_sequence_network_hex
111 #define ctf_sequence_network_hex(_type, _item, _src, _length_type, _src_length)
112
113 #undef ctf_sequence_text
114 #define ctf_sequence_text(_type, _item, _src, _length_type, _src_length)
115
116 #undef ctf_string
117 #define ctf_string(_item, _src)
118
119 #undef ctf_enum
120 #define ctf_enum(_provider, _name, _type, _item, _src)
121
122 /* "nowrite" */
123 #undef ctf_integer_nowrite
124 #define ctf_integer_nowrite(_type, _item, _src)
125
126 #undef ctf_float_nowrite
127 #define ctf_float_nowrite(_type, _item, _src)
128
129 #undef ctf_array_nowrite
130 #define ctf_array_nowrite(_type, _item, _src, _length)
131
132 #undef ctf_array_nowrite_hex
133 #define ctf_array_nowrite_hex(_type, _item, _src, _length)
134
135 #undef ctf_array_network_nowrite
136 #define ctf_array_network_nowrite(_type, _item, _src, _length)
137
138 #undef ctf_array_network_nowrite_hex
139 #define ctf_array_network_nowrite_hex(_type, _item, _src, _length)
140
141 #undef ctf_array_text_nowrite
142 #define ctf_array_text_nowrite(_type, _item, _src, _length)
143
144 #undef ctf_sequence_nowrite
145 #define ctf_sequence_nowrite(_type, _item, _src, _length_type, _src_length)
146
147 #undef ctf_sequence_nowrite_hex
148 #define ctf_sequence_nowrite_hex(_type, _item, _src, _length_type, _src_length)
149
150 #undef ctf_sequence_network_nowrite
151 #define ctf_sequence_network_nowrite(_type, _item, _src, _length_type, _src_length)
152
153 #undef ctf_sequence_network_nowrite_hex
154 #define ctf_sequence_network_nowrite_hex(_type, _item, _src, _length_type, _src_length)
155
156 #undef ctf_sequence_text_nowrite
157 #define ctf_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length)
158
159 #undef ctf_string_nowrite
160 #define ctf_string_nowrite(_item, _src)
161
162 #undef ctf_enum_nowrite
163 #define ctf_enum_nowrite(_provider, _name, _type, _item, _src)
This page took 0.033931 seconds and 4 git commands to generate.