Fix: relayd: missing metadata stream causes all traces to be skipped
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 3 Dec 2019 09:59:10 +0000 (04:59 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 Dec 2019 00:22:17 +0000 (19:22 -0500)
commit805b57aa66ce3df88551d7134d4602c5171dcfd4
tree1667498cbd8a21230f99ee527c642fec46805e00
parentd5a6e30756d0a38142b9f947fd954110372cefa1
Fix: relayd: missing metadata stream causes all traces to be skipped

Commit 123ed7c22 intends for a trace that doesn't have a metadata
stream to be skipped when creating viewer streams. However, the loop
over ctf_traces should be "continued" rather then "broken" from when
this situation arises. Otherwise, all ctf_traces of the session are
skipped, which is not the intention here.

Moreover, a reference to the current ctf_trace is leaked when the
break (now continue) occurs.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ic630521c6f050c77a78f2c1e20c5741a6b3a66a1
src/bin/lttng-relayd/live.c
This page took 0.025941 seconds and 4 git commands to generate.