From 04408848ff9f5d2a0be60a74930b09eecb19e5f0 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 26 Jan 2022 10:54:55 -0500 Subject: [PATCH] Revert "Fix: ustcomm: serialize variant_nestable type" lttng-sessiond does not expect the variant_nestable type when generating UST metadata. This fix only belongs to the master branch, not to a stable branch. This reverts commit 0b7bf25dd97168c3410e5601280637c0f64928ef. Signed-off-by: Mathieu Desnoyers Change-Id: I0f000b01b7bf24eadd3cea9480d84065a0a72c26 --- src/common/ustcomm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/ustcomm.c b/src/common/ustcomm.c index 6afa903d..2c183609 100644 --- a/src/common/ustcomm.c +++ b/src/common/ustcomm.c @@ -998,7 +998,7 @@ int serialize_dynamic_type(struct lttng_ust_session *session, strncpy(uf->name, field_name, LTTNG_UST_ABI_SYM_NAME_LEN); uf->name[LTTNG_UST_ABI_SYM_NAME_LEN - 1] = '\0'; - uf->type.atype = lttng_ust_ctl_atype_variant_nestable; + uf->type.atype = lttng_ust_ctl_atype_variant; uf->type.u.variant_nestable.nr_choices = nr_choices; strncpy(uf->type.u.variant_nestable.tag_name, tag_field_name, -- 2.34.1