From: Mathieu Desnoyers Date: Mon, 3 Oct 2016 17:18:53 +0000 (-0400) Subject: Fix: perform statedump before replying to sessiond X-Git-Tag: v2.8.2~4 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=cf18865a7dc67b21d895d68176a5ae2c7d3a980e;hp=cf18865a7dc67b21d895d68176a5ae2c7d3a980e;p=lttng-ust.git Fix: perform statedump before replying to sessiond If a stop command immediately follows a start command, the consumer daemon will stop event recording in the ring buffers shared memory control structures before the sessiond sends further commands to the application. Therefore, a stop-after-start may be performed concurrently with the statedump, leading to have parts of the statedump being missing. This case may always happen if an application exits during statedump, but it is not expected to have incomplete statedump in the stop-after-start use case. Signed-off-by: Mathieu Desnoyers ---