muxer: append causes on some _next iterator method code paths
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 13 Nov 2019 19:13:06 +0000 (14:13 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 15 Nov 2019 21:10:12 +0000 (16:10 -0500)
commitf331468c193c14544df578174185b01af900abcf
tree96dc8c38debe94b2776b6002f5482ad21596a514
parent7c4a2fba2ceb49dd5f43c68895329641636bd8b0
muxer: append causes on some _next iterator method code paths

The goal of this patch (on top of the fact that having more error causes
is nice) is to ensure that if an error status is returned to
muxer_msg_iter_do_next, an error is set on the current thread.  This
will help for the next patch, which will save and restore the error in
this function.

Change-Id: I7221af107f330ab5ded10b69f24121be6ad1678c
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2382
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
src/plugins/utils/muxer/muxer.c
This page took 0.024703 seconds and 4 git commands to generate.