#define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, _user, _nowrite) \
{ \
.name = #_item, \
- .type = __type_integer(_type, 0, 0, -1, _byte_order, _base, none),\
+ .type = __type_integer(_type, 0, 0, -1, _byte_order, _user, _base, none),\
.nowrite = _nowrite, \
- .user = _user, \
},
#undef _ctf_array_encoded
{ \
.array = \
{ \
- .elem_type = __type_integer(_type, 0, 0, 0, _byte_order, _base, _encoding), \
+ .elem_type = __type_integer(_type, 0, 0, 0, _byte_order, _user, _base, _encoding), \
.length = _length, \
} \
} \
}, \
.nowrite = _nowrite, \
- .user = _user, \
},
#undef _ctf_array_bitfield
{ \
.array = \
{ \
- .elem_type = __type_integer(_type, 1, 1, 0, __LITTLE_ENDIAN, 10, none), \
+ .elem_type = __type_integer(_type, 1, 1, 0, __LITTLE_ENDIAN, _user, 10, none), \
.length = (_length) * sizeof(_type) * CHAR_BIT, \
.elem_alignment = lttng_alignof(_type), \
} \
} \
}, \
.nowrite = _nowrite, \
- .user = _user, \
},
{ \
.sequence = \
{ \
- .length_type = __type_integer(_length_type, 0, 0, 0, __BYTE_ORDER, 10, none), \
- .elem_type = __type_integer(_type, 0, 0, -1, _byte_order, _base, _encoding), \
+ .length_type = __type_integer(_length_type, 0, 0, 0, __BYTE_ORDER, 0, 10, none), \
+ .elem_type = __type_integer(_type, 0, 0, -1, _byte_order, _user, _base, _encoding), \
}, \
}, \
}, \
.nowrite = _nowrite, \
- .user = _user, \
},
#undef _ctf_sequence_bitfield
{ \
.sequence = \
{ \
- .length_type = __type_integer(_length_type, 0, 0, 0, __BYTE_ORDER, 10, none), \
- .elem_type = __type_integer(_type, 1, 1, 0, __LITTLE_ENDIAN, 10, none), \
+ .length_type = __type_integer(_length_type, 0, 0, 0, __BYTE_ORDER, 0, 10, none), \
+ .elem_type = __type_integer(_type, 1, 1, 0, __LITTLE_ENDIAN, _user, 10, none), \
.elem_alignment = lttng_alignof(_type), \
}, \
}, \
}, \
.nowrite = _nowrite, \
- .user = _user, \
},
#undef _ctf_string
.atype = atype_string, \
.u = \
{ \
- .basic = { .string = { .encoding = lttng_encode_UTF8 } } \
+ .basic = { .string = { .encoding = lttng_encode_UTF8, .user = (_user), } } \
}, \
}, \
.nowrite = _nowrite, \
- .user = _user, \
},
#undef _ctf_enum
.alignment = lttng_alignof(_type) * CHAR_BIT, \
.signedness = lttng_is_signed_type(_type), \
.reverse_byte_order = 0, \
+ .user = (_user), \
.base = 10, \
.encoding = lttng_encode_none, \
}, \
}, \
}, \
.nowrite = _nowrite, \
- .user = _user, \
},
#undef ctf_custom_field
.name = #_item, \
.type = { _type }, \
.nowrite = 0, \
- .user = 0, \
},
#undef ctf_custom_type
#define TP_ID(_token, _system) TP_ID1(_token, _system)
static const struct lttng_event_desc *TP_ID(__provider_event_desc___, TRACE_SYSTEM)[] = {
+#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
};
#undef TP_ID1