Assert that the consumer socket lock is taken during communication
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 14 Feb 2018 19:59:35 +0000 (14:59 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 15 Feb 2018 20:13:28 +0000 (15:13 -0500)
commitd841d6db43e1614d4851a5eb520bf0a4c2f45631
treecf995154e4e4f8182db954dadc8c16460c5dc7c1
parente95abc31102d65800185e29919036e53a55e0b93
Assert that the consumer socket lock is taken during communication

The consumer_data lock must be acquired during any communication
between the session and consumer daemons.

Stress tests have shown a number of deadlocks that have been
traced down to this type of errors.

Individual fixes follow this commit.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/consumer.c
This page took 0.024174 seconds and 4 git commands to generate.