lttng_ust_field_integer_network_hex(int, netintfieldhex, netint)
lttng_ust_field_array(long, arrfield1, values, 3)
lttng_ust_field_array_text(char, arrfield2, text, 10)
- ctf_sequence(char, seqfield1, text,
+ lttng_ust_field_sequence(char, seqfield1, text,
size_t, textlen)
- ctf_sequence_text(char, seqfield2, text,
+ lttng_ust_field_sequence_text(char, seqfield2, text,
size_t, textlen)
ctf_string(stringfield, text)
lttng_ust_field_float(float, floatfield, floatarg)
lttng_ust_field_integer_network_hex(int, netintfieldhex, netint)
lttng_ust_field_array(long, arrfield1, values, 3)
lttng_ust_field_array_text(char, arrfield2, text, 10)
- ctf_sequence(char, seqfield1, text,
+ lttng_ust_field_sequence(char, seqfield1, text,
size_t, textlen)
- ctf_sequence_text(char, seqfield2, text,
+ lttng_ust_field_sequence_text(char, seqfield2, text,
size_t, textlen)
ctf_string(stringfield, text)
lttng_ust_field_float(float, floatfield, floatarg)
LTTNG_UST_TRACEPOINT_EVENT(lttng_ust_tracef, event,
LTTNG_UST_TP_ARGS(const char *, msg, unsigned int, len, void *, ip),
LTTNG_UST_TP_FIELDS(
- ctf_sequence_text(char, msg, msg, unsigned int, len)
+ lttng_ust_field_sequence_text(char, msg, msg, unsigned int, len)
ctf_unused(ip)
)
)
lttng_ust_field_integer(int, line, line)
ctf_string(file, file)
ctf_string(func, func)
- ctf_sequence_text(char, msg, msg, unsigned int, len)
+ lttng_ust_field_sequence_text(char, msg, msg, unsigned int, len)
ctf_unused(ip)
)
)
#define ctf_array_network_nowrite lttng_ust_field_array_network_nowrite
#define ctf_array_network_nowrite_hex lttng_ust_field_array_network_nowrite_hex
#define ctf_array_text_nowrite lttng_ust_field_array_text_nowrite
+
+#define ctf_sequence lttng_ust_field_sequence
+#define ctf_sequence_hex lttng_ust_field_sequence_hex
+#define ctf_sequence_network lttng_ust_field_sequence_network
+#define ctf_sequence_network_hex lttng_ust_field_sequence_network_hex
+#define ctf_sequence_text lttng_ust_field_sequence_text
+#define ctf_sequence_nowrite lttng_ust_field_sequence_nowrite
+#define ctf_sequence_nowrite_hex lttng_ust_field_sequence_nowrite_hex
+#define ctf_sequence_network_nowrite lttng_ust_field_sequence_network_nowrite
+#define ctf_sequence_network_nowrite_hex lttng_ust_field_sequence_network_nowrite_hex
+#define ctf_sequence_text_nowrite lttng_ust_field_sequence_text_nowrite
#endif /* #if LTTNG_UST_COMPAT_API(0) */
#ifdef __cplusplus
*
* * Array Sequence, printed as UTF8-encoded array of bytes *
* lttng_ust_field_array_text(char, field_b, string, FIXED_LEN)
- * ctf_sequence_text(char, field_c, string, size_t, strlen)
+ * lttng_ust_field_sequence_text(char, field_c, string, size_t, strlen)
*
* * String, printed as UTF8-encoded string *
* ctf_string(field_e, string)
*
* * Array sequence of signed integer values *
* lttng_ust_field_array(long, field_f, arg4, FIXED_LEN4)
- * ctf_sequence(long, field_g, arg4, size_t, arg4_len)
+ * lttng_ust_field_sequence(long, field_g, arg4, size_t, arg4_len)
* )
* )
*
#define lttng_ust_field_array_text_nowrite(_type, _item, _src, _length) \
lttng_ust__field_array_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, _length, UTF8, 1, 10)
-#undef ctf_sequence_nowrite
-#define ctf_sequence_nowrite(_type, _item, _src, _length_type, _src_length) \
- _ctf_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
+#undef lttng_ust_field_sequence_nowrite
+#define lttng_ust_field_sequence_nowrite(_type, _item, _src, _length_type, _src_length) \
+ lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
_length_type, _src_length, none, 1, 10)
-#undef ctf_sequence_nowrite_hex
-#define ctf_sequence_nowrite_hex(_type, _item, _src, _length_type, _src_length) \
- _ctf_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
+#undef lttng_ust_field_sequence_nowrite_hex
+#define lttng_ust_field_sequence_nowrite_hex(_type, _item, _src, _length_type, _src_length) \
+ lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
_length_type, _src_length, none, 1, 16)
-#undef ctf_sequence_network_nowrite
-#define ctf_sequence_network_nowrite(_type, _item, _src, _length_type, _src_length) \
- _ctf_sequence_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \
+#undef lttng_ust_field_sequence_network_nowrite
+#define lttng_ust_field_sequence_network_nowrite(_type, _item, _src, _length_type, _src_length) \
+ lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \
_length_type, _src_length, none, 1, 10)
-#undef ctf_sequence_network_nowrite_hex
-#define ctf_sequence_network_nowrite_hex(_type, _item, _src, _length_type, _src_length) \
- _ctf_sequence_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \
+#undef lttng_ust_field_sequence_network_nowrite_hex
+#define lttng_ust_field_sequence_network_nowrite_hex(_type, _item, _src, _length_type, _src_length) \
+ lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \
_length_type, _src_length, none, 1, 16)
-#undef ctf_sequence_text_nowrite
-#define ctf_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length) \
- _ctf_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
+#undef lttng_ust_field_sequence_text_nowrite
+#define lttng_ust_field_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length) \
+ lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
_length_type, _src_length, UTF8, 1, 10)
#undef ctf_string_nowrite
#define lttng_ust__field_array_encoded(_type, _item, _src, _byte_order, _length, _encoding, \
_nowrite, _elem_type_base)
-#undef _ctf_sequence_encoded
-#define _ctf_sequence_encoded(_type, _item, _src, _byte_order, _length_type, \
+#undef lttng_ust__field_sequence_encoded
+#define lttng_ust__field_sequence_encoded(_type, _item, _src, _byte_order, _length_type, \
_src_length, _encoding, _nowrite, _elem_type_base)
#undef _ctf_string
#undef lttng_ust_field_array_text
#define lttng_ust_field_array_text(_type, _item, _src, _length)
-#undef ctf_sequence
-#define ctf_sequence(_type, _item, _src, _length_type, _src_length)
+#undef lttng_ust_field_sequence
+#define lttng_ust_field_sequence(_type, _item, _src, _length_type, _src_length)
-#undef ctf_sequence_hex
-#define ctf_sequence_hex(_type, _item, _src, _length_type, _src_length)
+#undef lttng_ust_field_sequence_hex
+#define lttng_ust_field_sequence_hex(_type, _item, _src, _length_type, _src_length)
-#undef ctf_sequence_network
-#define ctf_sequence_network(_type, _item, _src, _length_type, _src_length)
+#undef lttng_ust_field_sequence_network
+#define lttng_ust_field_sequence_network(_type, _item, _src, _length_type, _src_length)
-#undef ctf_sequence_network_hex
-#define ctf_sequence_network_hex(_type, _item, _src, _length_type, _src_length)
+#undef lttng_ust_field_sequence_network_hex
+#define lttng_ust_field_sequence_network_hex(_type, _item, _src, _length_type, _src_length)
-#undef ctf_sequence_text
-#define ctf_sequence_text(_type, _item, _src, _length_type, _src_length)
+#undef lttng_ust_field_sequence_text
+#define lttng_ust_field_sequence_text(_type, _item, _src, _length_type, _src_length)
#undef ctf_string
#define ctf_string(_item, _src)
#undef lttng_ust_field_array_text_nowrite
#define lttng_ust_field_array_text_nowrite(_type, _item, _src, _length)
-#undef ctf_sequence_nowrite
-#define ctf_sequence_nowrite(_type, _item, _src, _length_type, _src_length)
+#undef lttng_ust_field_sequence_nowrite
+#define lttng_ust_field_sequence_nowrite(_type, _item, _src, _length_type, _src_length)
-#undef ctf_sequence_nowrite_hex
-#define ctf_sequence_nowrite_hex(_type, _item, _src, _length_type, _src_length)
+#undef lttng_ust_field_sequence_nowrite_hex
+#define lttng_ust_field_sequence_nowrite_hex(_type, _item, _src, _length_type, _src_length)
-#undef ctf_sequence_network_nowrite
-#define ctf_sequence_network_nowrite(_type, _item, _src, _length_type, _src_length)
+#undef lttng_ust_field_sequence_network_nowrite
+#define lttng_ust_field_sequence_network_nowrite(_type, _item, _src, _length_type, _src_length)
-#undef ctf_sequence_network_nowrite_hex
-#define ctf_sequence_network_nowrite_hex(_type, _item, _src, _length_type, _src_length)
+#undef lttng_ust_field_sequence_network_nowrite_hex
+#define lttng_ust_field_sequence_network_nowrite_hex(_type, _item, _src, _length_type, _src_length)
-#undef ctf_sequence_text_nowrite
-#define ctf_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length)
+#undef lttng_ust_field_sequence_text_nowrite
+#define lttng_ust_field_sequence_text_nowrite(_type, _item, _src, _length_type, _src_length)
#undef ctf_string_nowrite
#define ctf_string_nowrite(_item, _src)
lttng_ust__field_array_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
_length, UTF8, 0, 10)
-#undef ctf_sequence
-#define ctf_sequence(_type, _item, _src, _length_type, _src_length) \
- _ctf_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
+#undef lttng_ust_field_sequence
+#define lttng_ust_field_sequence(_type, _item, _src, _length_type, _src_length) \
+ lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
_length_type, _src_length, none, 0, 10)
-#undef ctf_sequence_hex
-#define ctf_sequence_hex(_type, _item, _src, _length_type, _src_length) \
- _ctf_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
+#undef lttng_ust_field_sequence_hex
+#define lttng_ust_field_sequence_hex(_type, _item, _src, _length_type, _src_length) \
+ lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
_length_type, _src_length, none, 0, 16)
-#undef ctf_sequence_network
-#define ctf_sequence_network(_type, _item, _src, _length_type, _src_length) \
- _ctf_sequence_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \
+#undef lttng_ust_field_sequence_network
+#define lttng_ust_field_sequence_network(_type, _item, _src, _length_type, _src_length) \
+ lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \
_length_type, _src_length, none, 0, 10)
-#undef ctf_sequence_network_hex
-#define ctf_sequence_network_hex(_type, _item, _src, _length_type, _src_length) \
- _ctf_sequence_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \
+#undef lttng_ust_field_sequence_network_hex
+#define lttng_ust_field_sequence_network_hex(_type, _item, _src, _length_type, _src_length) \
+ lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BIG_ENDIAN, \
_length_type, _src_length, none, 0, 16)
-#undef ctf_sequence_text
-#define ctf_sequence_text(_type, _item, _src, _length_type, _src_length) \
- _ctf_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
+#undef lttng_ust_field_sequence_text
+#define lttng_ust_field_sequence_text(_type, _item, _src, _length_type, _src_length) \
+ lttng_ust__field_sequence_encoded(_type, _item, _src, LTTNG_UST_BYTE_ORDER, \
_length_type, _src_length, UTF8, 0, 10)
#undef ctf_string
_elem_type_base) \
lttng_ust_field_array_element_type_is_supported(_type, _item);
-#undef _ctf_sequence_encoded
-#define _ctf_sequence_encoded(_type, _item, _src, _byte_order, \
+#undef lttng_ust__field_sequence_encoded
+#define lttng_ust__field_sequence_encoded(_type, _item, _src, _byte_order, \
_length_type, _src_length, _encoding, _nowrite, \
_elem_type_base) \
lttng_ust_field_array_element_type_is_supported(_type, _item);
.nofilter = 0, \
}),
-#undef _ctf_sequence_encoded
-#define _ctf_sequence_encoded(_type, _item, _src, _byte_order, \
+#undef lttng_ust__field_sequence_encoded
+#define lttng_ust__field_sequence_encoded(_type, _item, _src, _byte_order, \
_length_type, _src_length, _encoding, _nowrite, \
_elem_type_base) \
LTTNG_UST_COMPOUND_LITERAL(const struct lttng_ust_event_field, { \
__event_len += lttng_ust_ring_buffer_align(__event_len, lttng_ust_rb_alignof(_type)); \
__event_len += sizeof(_type) * (_length);
-#undef _ctf_sequence_encoded
-#define _ctf_sequence_encoded(_type, _item, _src, _byte_order, _length_type, \
+#undef lttng_ust__field_sequence_encoded
+#define lttng_ust__field_sequence_encoded(_type, _item, _src, _byte_order, _length_type, \
_src_length, _encoding, _nowrite, _elem_type_base) \
if (0) \
(void) (_src); /* Unused */ \
__stack_data += sizeof(void *); \
}
-#undef _ctf_sequence_encoded
-#define _ctf_sequence_encoded(_type, _item, _src, _byte_order, _length_type, \
+#undef lttng_ust__field_sequence_encoded
+#define lttng_ust__field_sequence_encoded(_type, _item, _src, _byte_order, _length_type, \
_src_length, _encoding, _nowrite, _elem_type_base) \
{ \
unsigned long __ctf_tmp_ulong = (unsigned long) (_src_length); \
(void) (_src); /* Unused */ \
lttng_ust__event_align = lttng_ust__tp_max_t(size_t, lttng_ust__event_align, lttng_ust_rb_alignof(_type));
-#undef _ctf_sequence_encoded
-#define _ctf_sequence_encoded(_type, _item, _src, _byte_order, _length_type, \
+#undef lttng_ust__field_sequence_encoded
+#define lttng_ust__field_sequence_encoded(_type, _item, _src, _byte_order, _length_type, \
_src_length, _encoding, _nowrite, _elem_type_base) \
if (0) \
(void) (_src); /* Unused */ \
else \
__chan->ops->event_pstrcpy_pad(&__ctx, (const char *) (_src), _length); \
-#undef _ctf_sequence_encoded
-#define _ctf_sequence_encoded(_type, _item, _src, _byte_order, _length_type, \
+#undef lttng_ust__field_sequence_encoded
+#define lttng_ust__field_sequence_encoded(_type, _item, _src, _byte_order, _length_type, \
_src_length, _encoding, _nowrite, _elem_type_base) \
{ \
_length_type __tmpl = __stackvar.__dynamic_len[__dynamic_len_idx]; \
LTTNG_UST_TP_FIELDS(
ctf_unused(ip)
lttng_ust_field_integer_hex(void *, baddr, baddr)
- ctf_sequence_hex(uint8_t, build_id, build_id,
+ lttng_ust_field_sequence_hex(uint8_t, build_id, build_id,
size_t, build_id_len)
)
)
LTTNG_UST_TP_FIELDS(
ctf_unused(session)
lttng_ust_field_integer_hex(void *, baddr, baddr)
- ctf_sequence_hex(uint8_t, build_id, build_id,
+ lttng_ust_field_sequence_hex(uint8_t, build_id, build_id,
size_t, build_id_len)
)
)
LTTNG_UST_TP_FIELDS(
ctf_unused(ip)
lttng_ust_field_integer_hex(void *, baddr, baddr)
- ctf_sequence_hex(uint8_t, build_id, build_id,
+ lttng_ust_field_sequence_hex(uint8_t, build_id, build_id,
size_t, build_id_len)
)
)
lttng_ust_field_integer_network_hex(int, netintfieldhex, netint)
lttng_ust_field_array(long, arrfield1, values, 3)
lttng_ust_field_array_text(char, arrfield2, text, 10)
- ctf_sequence(char, seqfield1, text,
+ lttng_ust_field_sequence(char, seqfield1, text,
size_t, textlen)
- ctf_sequence_text(char, seqfield2, text,
+ lttng_ust_field_sequence_text(char, seqfield2, text,
size_t, textlen)
ctf_string(stringfield, text)
lttng_ust_field_float(float, floatfield, floatarg)
lttng_ust_field_array_network(long, arrfield1_network, values, 3)
lttng_ust_field_array_network_hex(long, arrfield1_network_hex, values, 3)
lttng_ust_field_array_text(char, arrfield2, text, 10)
- ctf_sequence(char, seqfield1, text,
+ lttng_ust_field_sequence(char, seqfield1, text,
size_t, textlen)
- ctf_sequence_nowrite(char, seqfield1z, text,
+ lttng_ust_field_sequence_nowrite(char, seqfield1z, text,
size_t, textlen)
- ctf_sequence_hex(char, seqfield1_hex, text,
+ lttng_ust_field_sequence_hex(char, seqfield1_hex, text,
size_t, textlen)
- ctf_sequence_text(char, seqfield2, text,
+ lttng_ust_field_sequence_text(char, seqfield2, text,
size_t, textlen)
- ctf_sequence_network(long, seqfield_network_3, values,
+ lttng_ust_field_sequence_network(long, seqfield_network_3, values,
size_t, 3)
ctf_string(stringfield, text)
lttng_ust_field_float(float, floatfield, floatarg)
lttng_ust_field_integer_network_hex(int, netintfieldhex, netint)
lttng_ust_field_array(long, arrfield1, values, 3)
lttng_ust_field_array_text(char, arrfield2, text, 10)
- ctf_sequence(char, seqfield1, text,
+ lttng_ust_field_sequence(char, seqfield1, text,
size_t, textlen)
- ctf_sequence_text(char, seqfield2, text,
+ lttng_ust_field_sequence_text(char, seqfield2, text,
size_t, textlen)
ctf_string(stringfield, text)
lttng_ust_field_float(float, floatfield, floatarg)