include: implement REUSE with SPDX identifiers
[lttng-ust.git] / include / lttng / ust-tracepoint-event-nowrite.h
CommitLineData
1c196845
MJ
1// SPDX-FileCopyrightText: 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
2//
3// SPDX-License-Identifier: MIT
4774c8f3 4
b4064f28
MJ
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)
4774c8f3 8
891226fc
MJ
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)
4774c8f3 12
10937ee5
MJ
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)
4774c8f3 16
10937ee5
MJ
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)
35ebe09b 20
10937ee5
MJ
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, \
35ebe09b
MD
24 _length, none, 1, 10)
25
10937ee5
MJ
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, \
35ebe09b
MD
29 _length, none, 1, 16)
30
10937ee5
MJ
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)
4774c8f3 34
1d188af9
MJ
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, \
f968510a
PP
38 _length_type, _src_length, none, 1, 10)
39
1d188af9
MJ
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, \
f968510a 43 _length_type, _src_length, none, 1, 16)
4774c8f3 44
1d188af9
MJ
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, \
35ebe09b
MD
48 _length_type, _src_length, none, 1, 10)
49
1d188af9
MJ
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, \
35ebe09b
MD
53 _length_type, _src_length, none, 1, 16)
54
1d188af9
MJ
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, \
f968510a 58 _length_type, _src_length, UTF8, 1, 10)
4774c8f3 59
3202f63a
MJ
60#undef lttng_ust_field_string_nowrite
61#define lttng_ust_field_string_nowrite(_item, _src) \
62 lttng_ust__field_string(_item, _src, 1)
c785c634 63
ddde62ca
MJ
64#undef lttng_ust_field_unused_nowrite
65#define lttng_ust_field_unused_nowrite(_src) \
66 lttng_ust__field_unused(_src)
5152f6df 67
78684808
MJ
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)
This page took 0.035818 seconds and 4 git commands to generate.