}
static
-int lttng_enum_create(const struct lttng_enum_desc *desc,
+int lttng_enum_create(const struct lttng_ust_enum_desc *desc,
struct lttng_session *session)
{
const char *enum_name = desc->name;
switch (type->atype) {
case atype_enum_nestable:
{
- const struct lttng_enum_desc *enum_desc;
+ const struct lttng_ust_enum_desc *enum_desc;
int ret;
enum_desc = type->u.enum_nestable.desc;
case atype_dynamic:
{
const struct lttng_ust_event_field *tag_field_generic;
- const struct lttng_enum_desc *enum_desc;
+ const struct lttng_ust_enum_desc *enum_desc;
int ret;
tag_field_generic = lttng_ust_dynamic_type_tag_field();
/* Destroy enums of the current event. */
for (i = 0; i < event_recorder->parent->priv->desc->nr_fields; i++) {
- const struct lttng_enum_desc *enum_desc;
+ const struct lttng_ust_enum_desc *enum_desc;
const struct lttng_ust_event_field *field;
struct lttng_enum *curr_enum;