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)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Tue, 10 Sep 2019 18:14:44 +0000 (14:14 -0400)
commit3b75a1f2d5226a056e4e14a08c37edfac7b78336
treec2ed38c39a62d0c891f8890caea42c500b841827
parenta1545c3d349aa4c13029b409fcb2e239deae6f2f
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.024031 seconds and 4 git commands to generate.