Move to kernel style SPDX license identifiers
[lttng-ust.git] / include / lttng / ust-tracepoint-event-nowrite.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 */
6
7 #undef ctf_integer_nowrite
8 #define ctf_integer_nowrite(_type, _item, _src) \
9 _ctf_integer_ext(_type, _item, _src, BYTE_ORDER, 10, 1)
10
11 #undef ctf_float_nowrite
12 #define ctf_float_nowrite(_type, _item, _src) \
13 _ctf_float(_type, _item, _src, 1)
14
15 #undef ctf_array_nowrite
16 #define ctf_array_nowrite(_type, _item, _src, _length) \
17 _ctf_array_encoded(_type, _item, _src, BYTE_ORDER, _length, none, 1, 10)
18
19 #undef ctf_array_nowrite_hex
20 #define ctf_array_nowrite_hex(_type, _item, _src, _length) \
21 _ctf_array_encoded(_type, _item, _src, BYTE_ORDER, _length, none, 1, 16)
22
23 #undef ctf_array_network_nowrite
24 #define ctf_array_network_nowrite(_type, _item, _src, _length) \
25 _ctf_array_encoded(_type, _item, _src, BIG_ENDIAN, \
26 _length, none, 1, 10)
27
28 #undef ctf_array_network_nowrite_hex
29 #define ctf_array_network_nowrite_hex(_type, _item, _src, _length) \
30 _ctf_array_encoded(_type, _item, _src, BIG_ENDIAN, \
31 _length, none, 1, 16)
32
33 #undef ctf_array_text_nowrite
34 #define ctf_array_text_nowrite(_type, _item, _src, _length) \
35 _ctf_array_encoded(_type, _item, _src, BYTE_ORDER, _length, UTF8, 1, 10)
36
37 #undef ctf_sequence_nowrite
38 #define ctf_sequence_nowrite(_type, _item, _src, _length_type, _src_length) \
39 _ctf_sequence_encoded(_type, _item, _src, BYTE_ORDER, \
40 _length_type, _src_length, none, 1, 10)
41
42 #undef ctf_sequence_nowrite_hex
43 #define ctf_sequence_nowrite_hex(_type, _item, _src, _length_type, _src_length) \
44 _ctf_sequence_encoded(_type, _item, _src, BYTE_ORDER, \
45 _length_type, _src_length, none, 1, 16)
46
47 #undef ctf_sequence_network_nowrite
48 #define ctf_sequence_network_nowrite(_type, _item, _src, _length_type, _src_length) \
49 _ctf_sequence_encoded(_type, _item, _src, BIG_ENDIAN, \
50 _length_type, _src_length, none, 1, 10)
51
52 #undef ctf_sequence_network_nowrite_hex
53 #define ctf_sequence_network_nowrite_hex(_type, _item, _src, _length_type, _src_length) \
54 _ctf_sequence_encoded(_type, _item, _src, BIG_ENDIAN, \
55 _length_type, _src_length, none, 1, 16)
56
57 #undef ctf_sequence_text_nowrite
58 #define ctf_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length) \
59 _ctf_sequence_encoded(_type, _item, _src, BYTE_ORDER, \
60 _length_type, _src_length, UTF8, 1, 10)
61
62 #undef ctf_string_nowrite
63 #define ctf_string_nowrite(_item, _src) \
64 _ctf_string(_item, _src, 1)
65
66 #undef ctf_enum_nowrite
67 #define ctf_enum_nowrite(_provider, _name, _type, _item, _src) \
68 _ctf_enum(_provider, _name, _type, _item, _src, 1)
This page took 0.030364 seconds and 4 git commands to generate.