Tracepoint: add ctf sequence for network byte order integers
[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, _length, _encoding, \
58 _nowrite)
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_text
90 #define ctf_array_text(_type, _item, _src, _length)
91
92 #undef ctf_sequence
93 #define ctf_sequence(_type, _item, _src, _length_type, _src_length)
94
95 #undef ctf_sequence_text
96 #define ctf_sequence_text(_type, _item, _src, _length_type, _src_length)
97
98 #undef ctf_string
99 #define ctf_string(_item, _src)
100
101 #undef ctf_enum
102 #define ctf_enum(_provider, _name, _type, _item, _src)
103
104 /* "nowrite" */
105 #undef ctf_integer_nowrite
106 #define ctf_integer_nowrite(_type, _item, _src)
107
108 #undef ctf_float_nowrite
109 #define ctf_float_nowrite(_type, _item, _src)
110
111 #undef ctf_array_nowrite
112 #define ctf_array_nowrite(_type, _item, _src, _length)
113
114 #undef ctf_array_text_nowrite
115 #define ctf_array_text_nowrite(_type, _item, _src, _length)
116
117 #undef ctf_sequence_nowrite
118 #define ctf_sequence_nowrite(_type, _item, _src, _length_type, _src_length)
119
120 #undef ctf_sequence_text_nowrite
121 #define ctf_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length)
122
123 #undef ctf_string_nowrite
124 #define ctf_string_nowrite(_item, _src)
125
126 #undef ctf_enum_nowrite
127 #define ctf_enum_nowrite(_provider, _name, _type, _item, _src)
This page took 0.033071 seconds and 5 git commands to generate.