plugins: call bt_current_thread_clear_error() when not propagating error
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 3 Jul 2019 20:31:56 +0000 (16:31 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Sat, 6 Jul 2019 03:47:50 +0000 (23:47 -0400)
commitb80991f68094e8e2ed3c9d5f69db442a663d1511
tree3eadbeed2bdb6168a579998d1cf9a1a9d03bdf3f
parent553c4bab3cad8ad569c14a01b39a66a2d8bcde7c
plugins: call bt_current_thread_clear_error() when not propagating error

Most of the locations where bt_current_thread_clear_error() is called in
this patch need to be replaced with proper error handling, except in
finalization methods which cannot fail. This work will be done by a
subsequent patch.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I10fb2eb98f46e685e6abf563346a2750b46b01d9
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1613
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
src/plugins/ctf/lttng-live/data-stream.c
src/plugins/lttng-utils/debug-info/debug-info.c
src/plugins/lttng-utils/debug-info/trace-ir-data-copy.c
src/plugins/lttng-utils/debug-info/trace-ir-mapping.c
src/plugins/lttng-utils/debug-info/trace-ir-metadata-copy.c
src/plugins/text/details/details.c
This page took 0.024772 seconds and 4 git commands to generate.