src.ctf.lttng-live: use optional pattern for `ctf_stream_class_id`
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 10 Nov 2021 18:59:59 +0000 (13:59 -0500)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 11 Nov 2021 22:47:54 +0000 (17:47 -0500)
commit1a25881946640f778a14e8f5491795193572d826
tree80755f784a67060ce32da122cf8458a7297a2166
parentcefd84f8dac720dcbb07a551d3894d701d2515c9
src.ctf.lttng-live: use optional pattern for `ctf_stream_class_id`

Instead of checking for an initial boundary value to signify if the
value is initialized use a optional like anonymous struct with a
`is_set` flag.

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