Fix: src.ctf.lttng-live: no stream beginning/end messages
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 10 Sep 2019 01:27:24 +0000 (21:27 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 3 Oct 2019 14:45:10 +0000 (10:45 -0400)
commit58f3596b78ad80a8c47e5f04ded46c37b5a5a38d
tree7eabb42a8bea897dddb06700524b328575bf28ad
parent329b8da778080cba2433326df283278cca04d538
Fix: src.ctf.lttng-live: no stream beginning/end messages

Issue
=====
`src.ctf.lttng-live` components don't emit stream beginning and end
messages. This is due to the `bt_msg_iter::emit_stream_begin_msg` field
being set to false at allocation time.

Solution
========
Set it to true right after the allocation.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Change-Id: Iae6b174e10070b32a877bb9ba7c1e637491ee15d
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2022
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/plugins/ctf/lttng-live/data-stream.c
This page took 0.024951 seconds and 4 git commands to generate.