]> git.lttng.org Git - lttng-tools.git/commit
Fix: kernel consumer: signal metadata ready condition variable
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 30 Apr 2021 14:44:44 +0000 (10:44 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 11 May 2021 17:30:03 +0000 (13:30 -0400)
commit1bfbabab0171e4243edbf1d7e9e9b6c11f549460
tree5d783640f0bde245ab06ab524a13ebb5b50e081f
parent852a753fee8c0d561a41b99ed98ae1a123a0f899
Fix: kernel consumer: signal metadata ready condition variable

The behaviour of the kernel consumer does not match that of the user
space consumer. When a live metadata stream goes back to "sleep", it
must broadcast on the metadata_rdv to wake-up any thread that is
performing a metadata sync.

This mismatch causes a hang in the kernel consumer during the kernel
clear tests.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I7c93007b6d08f340881c08f23931582443bfa397
src/common/kernel-consumer/kernel-consumer.c
This page took 0.032249 seconds and 4 git commands to generate.