From: Mathieu Desnoyers Date: Wed, 14 Nov 2018 22:46:26 +0000 (-0500) Subject: Fix: channel errors on local stress-tests X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=e38d96f9a1077b329d2239aabc50f57fcd3a73e4;hp=e38d96f9a1077b329d2239aabc50f57fcd3a73e4;p=lttng-tools.git Fix: channel errors on local stress-tests On local stress-tests with per-pid buffers, error paths triggered when trying to create a channel on an application already going away end up tiggering the channel destruction with "-1" socket parameter. This function attempts to send a notification of channel destruction (erroneously) and attempts to sum counters into a channel object which may not have been populated yet. Therefore, don't perform those side-effects when invoked from error path caused by channel creation error. Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau ---