Tracepoint API namespacing ctf_unused
[lttng-ust.git] / include / lttng / ust-tracepoint-event-write.h
... / ...
CommitLineData
1/*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
5 */
6
7#undef lttng_ust_field_integer
8#define lttng_ust_field_integer(_type, _item, _src) \
9 lttng_ust__field_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 10, 0)
10
11#undef lttng_ust_field_integer_hex
12#define lttng_ust_field_integer_hex(_type, _item, _src) \
13 lttng_ust__field_integer_ext(_type, _item, _src, LTTNG_UST_BYTE_ORDER, 16, 0)
14
15#undef lttng_ust_field_integer_network
16#define lttng_ust_field_integer_network(_type, _item, _src) \
17 lttng_ust__field_integer_ext(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, 10, 0)
18
19#undef lttng_ust_field_integer_network_hex
20#define lttng_ust_field_integer_network_hex(_type, _item, _src) \
21 lttng_ust__field_integer_ext(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, 16, 0)
22
23#undef lttng_ust_field_float
24#define lttng_ust_field_float(_type, _item, _src) \
25 lttng_ust__field_float(_type, _item, _src, 0)
26
27#undef lttng_ust_field_array
28#define lttng_ust_field_array(_type, _item, _src, _length) \
29 lttng_ust__field_array_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
30 _length, none, 0, 10)
31
32#undef lttng_ust_field_array_hex
33#define lttng_ust_field_array_hex(_type, _item, _src, _length) \
34 lttng_ust__field_array_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
35 _length, none, 0, 16)
36
37#undef lttng_ust_field_array_network
38#define lttng_ust_field_array_network(_type, _item, _src, _length) \
39 lttng_ust__field_array_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \
40 _length, none, 0, 10)
41
42#undef lttng_ust_field_array_network_hex
43#define lttng_ust_field_array_network_hex(_type, _item, _src, _length) \
44 lttng_ust__field_array_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \
45 _length, none, 0, 16)
46
47#undef lttng_ust_field_array_text
48#define lttng_ust_field_array_text(_type, _item, _src, _length) \
49 lttng_ust__field_array_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
50 _length, UTF8, 0, 10)
51
52#undef lttng_ust_field_sequence
53#define lttng_ust_field_sequence(_type, _item, _src, _length_type, _src_length) \
54 lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
55 _length_type, _src_length, none, 0, 10)
56
57#undef lttng_ust_field_sequence_hex
58#define lttng_ust_field_sequence_hex(_type, _item, _src, _length_type, _src_length) \
59 lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
60 _length_type, _src_length, none, 0, 16)
61
62#undef lttng_ust_field_sequence_network
63#define lttng_ust_field_sequence_network(_type, _item, _src, _length_type, _src_length) \
64 lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \
65 _length_type, _src_length, none, 0, 10)
66
67#undef lttng_ust_field_sequence_network_hex
68#define lttng_ust_field_sequence_network_hex(_type, _item, _src, _length_type, _src_length) \
69 lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \
70 _length_type, _src_length, none, 0, 16)
71
72#undef lttng_ust_field_sequence_text
73#define lttng_ust_field_sequence_text(_type, _item, _src, _length_type, _src_length) \
74 lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
75 _length_type, _src_length, UTF8, 0, 10)
76
77#undef lttng_ust_field_string
78#define lttng_ust_field_string(_item, _src) \
79 lttng_ust__field_string(_item, _src, 0)
80
81#undef lttng_ust_field_unused
82#define lttng_ust_field_unused(_src) \
83 lttng_ust__field_unused(_src)
84
85#undef ctf_enum
86#define ctf_enum(_provider, _name, _type, _item, _src) \
87 _ctf_enum(_provider, _name, _type, _item, _src, 0)
This page took 0.02264 seconds and 4 git commands to generate.