.nofilter = 0, \
}),
-#undef _ctf_string
-#define _ctf_string(_item, _src, _nowrite) \
+#undef lttng_ust__field_string
+#define lttng_ust__field_string(_item, _src, _nowrite) \
LTTNG_UST_COMPOUND_LITERAL(const struct lttng_ust_event_field, { \
.struct_size = sizeof(struct lttng_ust_event_field), \
.name = #_item, \
.nofilter = 0, \
}),
-#undef _ctf_unused
-#define _ctf_unused(_src)
+#undef lttng_ust__field_unused
+#define lttng_ust__field_unused(_src)
#undef _ctf_enum
#define _ctf_enum(_provider, _name, _type, _item, _src, _nowrite) \
__event_len += sizeof(_type) * __dynamic_len[__dynamic_len_idx]; \
__dynamic_len_idx++;
-#undef _ctf_string
-#define _ctf_string(_item, _src, _nowrite) \
+#undef lttng_ust__field_string
+#define lttng_ust__field_string(_item, _src, _nowrite) \
__event_len += __dynamic_len[__dynamic_len_idx++] = \
strlen((_src) ? (_src) : LTTNG_UST__NULL_STRING) + 1;
-#undef _ctf_unused
-#define _ctf_unused(_src) \
+#undef lttng_ust__field_unused
+#define lttng_ust__field_unused(_src) \
if (0) \
(void) (_src); /* Unused */
__stack_data += sizeof(void *); \
}
-#undef _ctf_string
-#define _ctf_string(_item, _src, _nowrite) \
+#undef lttng_ust__field_string
+#define lttng_ust__field_string(_item, _src, _nowrite) \
{ \
const void *__ctf_tmp_ptr = \
((_src) ? (_src) : LTTNG_UST__NULL_STRING); \
__stack_data += sizeof(void *); \
}
-#undef _ctf_unused
-#define _ctf_unused(_src) \
+#undef lttng_ust__field_unused
+#define lttng_ust__field_unused(_src) \
if (0) \
(void) (_src);
lttng_ust__event_align = lttng_ust__tp_max_t(size_t, lttng_ust__event_align, lttng_ust_rb_alignof(_length_type)); \
lttng_ust__event_align = lttng_ust__tp_max_t(size_t, lttng_ust__event_align, lttng_ust_rb_alignof(_type));
-#undef _ctf_string
-#define _ctf_string(_item, _src, _nowrite) \
+#undef lttng_ust__field_string
+#define lttng_ust__field_string(_item, _src, _nowrite) \
if (0) \
(void) (_src); /* Unused */
-#undef _ctf_unused
-#define _ctf_unused(_src) \
+#undef lttng_ust__field_unused
+#define lttng_ust__field_unused(_src) \
if (0) \
(void) (_src); /* Unused */
else \
__chan->ops->event_pstrcpy_pad(&__ctx, (const char *) (_src), lttng_ust__get_dynamic_len(dest)); \
-#undef _ctf_string
-#define _ctf_string(_item, _src, _nowrite) \
+#undef lttng_ust__field_string
+#define lttng_ust__field_string(_item, _src, _nowrite) \
{ \
const char *__ctf_tmp_string = \
((_src) ? (_src) : LTTNG_UST__NULL_STRING); \
lttng_ust__get_dynamic_len(dest)); \
}
-#undef _ctf_unused
-#define _ctf_unused(_src)
+#undef lttng_ust__field_unused
+#define lttng_ust__field_unused(_src)
#undef _ctf_enum
#define _ctf_enum(_provider, _name, _type, _item, _src, _nowrite) \