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:27 +0000 (17:29 -0500)
commita13748e9cfc3a9544d7195bcb2037e212dcec829
tree8db273c1484622cd780689efe4237e83ed694728
parentc559ee63d6a599e594d65b96298229690685e948
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.cpp
This page took 0.024963 seconds and 4 git commands to generate.