Fix: perform statedump before replying to sessiond
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 3 Oct 2016 17:18:53 +0000 (13:18 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 3 Oct 2016 17:28:37 +0000 (13:28 -0400)
commitcf18865a7dc67b21d895d68176a5ae2c7d3a980e
treeceaf3a48d5195db07c05fd7c5475a5870bdd6128
parent8f62fbe3204b1f7c6c91401c38f2d30cfc644906
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 <mathieu.desnoyers@efficios.com>
liblttng-ust/lttng-ust-comm.c
This page took 0.024574 seconds and 4 git commands to generate.