Fix: _lttng_variant_statedump should expect lttng_ust_ctl_atype_variant_nestable
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 26 Jan 2022 15:53:55 +0000 (10:53 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 26 Jan 2022 22:29:38 +0000 (17:29 -0500)
commit73cbc1b769ac1dbe2744e627e4774de412b18d6d
tree5cf1ff98ada70b9c3d267e9ab2ada5149f66d829
parentfefafa3644e59939908c879103b207aee042d616
Fix: _lttng_variant_statedump should expect lttng_ust_ctl_atype_variant_nestable

The precondition check in _lttng_variant_statedump is too strict: it
should also expect lttng_ust_ctl_atype_variant_nestable. Remove this
check entirely, which is redundant with the switch/case in the only
caller sites in the same compile unit.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I744cc5cef69ff29f8d7ecc1cf01c9a629c6e222e
src/bin/lttng-sessiond/ust-metadata.c
This page took 0.024933 seconds and 4 git commands to generate.