From: Mathieu Desnoyers Date: Tue, 30 Jun 2020 14:41:37 +0000 (-0400) Subject: Fix: callstack: initialize nested sequence length field name X-Git-Tag: v2.13.0-rc1~204 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e2b24d64b75943b2c1c938082d6ee69dbb4d5e9d;p=lttng-modules.git Fix: callstack: initialize nested sequence length field name Signed-off-by: Mathieu Desnoyers --- diff --git a/src/lttng-context-callstack.c b/src/lttng-context-callstack.c index b0f7a2fe..eaaecf4d 100644 --- a/src/lttng-context-callstack.c +++ b/src/lttng-context-callstack.c @@ -151,6 +151,7 @@ int __lttng_add_callstack_generic(struct lttng_ctx **ctx, field = &sequence_field->event_field; field->name = ctx_name; field->type.atype = atype_sequence_nestable; + field->type.u.sequence_nestable.length_name = ctx_length_name; field->type.u.sequence_nestable.elem_type = &sequence_elem_type; field->type.u.sequence_nestable.alignment = 0; sequence_field->get_size_arg = lttng_callstack_sequence_get_size;