Use case-scope error labels when handling LTTNG_CONSUMER_ADD_STREAM
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 27 Aug 2019 20:19:34 +0000 (16:19 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 28 Aug 2019 22:33:19 +0000 (18:33 -0400)
commitc5c7998fccd830f54ebec3fa1d9af7ffe5bfbeb4
tree73ac54e88c782de5ed2d8afe41362cd699971a58
parenta6ef8ee6a852f9fa6394408fcc8d4d49891852d9
Use case-scope error labels when handling LTTNG_CONSUMER_ADD_STREAM

This cleans-up the error handling of the case handling the
LTTNG_CONSUMER_ADD_STREAM command. This is done in order to allow a
follow-up commit to perform some common clean-up operations on error
while introducing as few changes as possible.

No behaviour change is intended beyond additional calls to
health_code_update() in some code paths which should have no impact.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/kernel-consumer/kernel-consumer.c
This page took 0.025067 seconds and 4 git commands to generate.