Fix: callstack: initialize nested sequence length field name
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 30 Jun 2020 14:41:37 +0000 (10:41 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 30 Jun 2020 16:53:31 +0000 (12:53 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/lttng-context-callstack.c

index b0f7a2fee5a1c7ed0234c57620bf67d965e9f890..eaaecf4d7dc1d64fddf00932fc26eb03f453776b 100644 (file)
@@ -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;
This page took 0.026405 seconds and 4 git commands to generate.