Fix: Make sure we have all the metadata streams before adding new traces
authorJulien Desfossez <jdesfossez@efficios.com>
Thu, 23 Nov 2017 23:00:14 +0000 (18:00 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 30 Jan 2018 21:53:35 +0000 (16:53 -0500)
commit8817e4924b6a74512413556b808373683934ea82
tree694650adba540c954d07d0b2975667ff865ad93f
parent917bba7f2b1af963cccffcbde225ebd07f27068f
Fix: Make sure we have all the metadata streams before adding new traces

The add_one_trace function needs to have a metadata stream for all the
known traces. If it does not, we could end up in situations where we
fetch new streams while adding a trace which causes a lot of problems.

Now we ensure we have all the metadata streams before adding the traces.

Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Acked-by: Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
Tested-by: Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/lttng-live/lttng-live-comm.c
This page took 0.025546 seconds and 4 git commands to generate.