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>
Wed, 14 Feb 2018 22:54:29 +0000 (17:54 -0500)
commit211b734b85bc6f587dd768bd1528d07a15030ec2
treeb017b9f68ea5f17bfa83402dcdc7981b8ada2a7b
parentfdd88fe262222b6873c1f111caf4716b97ea96dd
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.026204 seconds and 4 git commands to generate.