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