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>
Wed, 31 Jan 2018 19:46:03 +0000 (14:46 -0500)
commit4a6f6ed3aeb9845dec4b8ec9ca8573ed1c064187
tree9d68f61aa2df6d1dc950273edf72dcda93e51b98
parentb963fd15feb6ac8af215f44e498a68878d8a8737
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.024284 seconds and 4 git commands to generate.