Commit | Line | Data |
---|---|---|
4774c8f3 | 1 | /* |
c0c0989a | 2 | * SPDX-License-Identifier: MIT |
4774c8f3 | 3 | * |
c0c0989a | 4 | * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
4774c8f3 MD |
5 | */ |
6 | ||
b4064f28 MJ |
7 | #undef lttng_ust_field_integer_nowrite |
8 | #define lttng_ust_field_integer_nowrite(_type, _item, _src) \ | |
9 | lttng_ust__field_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 10, 1) | |
4774c8f3 | 10 | |
891226fc MJ |
11 | #undef lttng_ust_field_float_nowrite |
12 | #define lttng_ust_field_float_nowrite(_type, _item, _src) \ | |
13 | lttng_ust__field_float(_type, _item, _src, 1) | |
4774c8f3 | 14 | |
10937ee5 MJ |
15 | #undef lttng_ust_field_array_nowrite |
16 | #define lttng_ust_field_array_nowrite(_type, _item, _src, _length) \ | |
17 | lttng_ust__field_array_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, _length, none, 1, 10) | |
4774c8f3 | 18 | |
10937ee5 MJ |
19 | #undef lttng_ust_field_array_nowrite_hex |
20 | #define lttng_ust_field_array_nowrite_hex(_type, _item, _src, _length) \ | |
21 | lttng_ust__field_array_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, _length, none, 1, 16) | |
35ebe09b | 22 | |
10937ee5 MJ |
23 | #undef lttng_ust_field_array_network_nowrite |
24 | #define lttng_ust_field_array_network_nowrite(_type, _item, _src, _length) \ | |
25 | lttng_ust__field_array_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \ | |
35ebe09b MD |
26 | _length, none, 1, 10) |
27 | ||
10937ee5 MJ |
28 | #undef lttng_ust_field_array_network_nowrite_hex |
29 | #define lttng_ust_field_array_network_nowrite_hex(_type, _item, _src, _length) \ | |
30 | lttng_ust__field_array_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \ | |
35ebe09b MD |
31 | _length, none, 1, 16) |
32 | ||
10937ee5 MJ |
33 | #undef lttng_ust_field_array_text_nowrite |
34 | #define lttng_ust_field_array_text_nowrite(_type, _item, _src, _length) \ | |
35 | lttng_ust__field_array_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, _length, UTF8, 1, 10) | |
4774c8f3 | 36 | |
1d188af9 MJ |
37 | #undef lttng_ust_field_sequence_nowrite |
38 | #define lttng_ust_field_sequence_nowrite(_type, _item, _src, _length_type, _src_length) \ | |
39 | lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \ | |
f968510a PP |
40 | _length_type, _src_length, none, 1, 10) |
41 | ||
1d188af9 MJ |
42 | #undef lttng_ust_field_sequence_nowrite_hex |
43 | #define lttng_ust_field_sequence_nowrite_hex(_type, _item, _src, _length_type, _src_length) \ | |
44 | lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \ | |
f968510a | 45 | _length_type, _src_length, none, 1, 16) |
4774c8f3 | 46 | |
1d188af9 MJ |
47 | #undef lttng_ust_field_sequence_network_nowrite |
48 | #define lttng_ust_field_sequence_network_nowrite(_type, _item, _src, _length_type, _src_length) \ | |
49 | lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \ | |
35ebe09b MD |
50 | _length_type, _src_length, none, 1, 10) |
51 | ||
1d188af9 MJ |
52 | #undef lttng_ust_field_sequence_network_nowrite_hex |
53 | #define lttng_ust_field_sequence_network_nowrite_hex(_type, _item, _src, _length_type, _src_length) \ | |
54 | lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \ | |
35ebe09b MD |
55 | _length_type, _src_length, none, 1, 16) |
56 | ||
1d188af9 MJ |
57 | #undef lttng_ust_field_sequence_text_nowrite |
58 | #define lttng_ust_field_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length) \ | |
59 | lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \ | |
f968510a | 60 | _length_type, _src_length, UTF8, 1, 10) |
4774c8f3 | 61 | |
3202f63a MJ |
62 | #undef lttng_ust_field_string_nowrite |
63 | #define lttng_ust_field_string_nowrite(_item, _src) \ | |
64 | lttng_ust__field_string(_item, _src, 1) | |
c785c634 | 65 | |
ddde62ca MJ |
66 | #undef lttng_ust_field_unused_nowrite |
67 | #define lttng_ust_field_unused_nowrite(_src) \ | |
68 | lttng_ust__field_unused(_src) | |
5152f6df | 69 | |
78684808 MJ |
70 | #undef lttng_ust_field_enum_nowrite |
71 | #define lttng_ust_field_enum_nowrite(_provider, _name, _type, _item, _src) \ | |
72 | lttng_ust__field_enum(_provider, _name, _type, _item, _src, 1) |