Add bt_ctf_trace_get_stream_count() and bt_ctf_trace_get_stream()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 26 Apr 2017 13:14:43 +0000 (09:14 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:41 +0000 (12:57 -0400)
commitc1e730febb17c72e96c356d54b8df31d5c0c0b94
tree1d51980e123805ef934ba0e20eb3ffeabe78ad83
parenta8ff38ef4b08728cd1bb93ae66a888dfbda4fbb2
Add bt_ctf_trace_get_stream_count() and bt_ctf_trace_get_stream()

With the two new functions you can access the streams of a trace. The
use case is for any component to be able to check if it has received a
"stream end" notification for each stream of a given trace and discard
anything associated with this trace if it's the case.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/babeltrace/ctf-ir/trace.h
lib/ctf-ir/trace.c
tests/lib/test_ctf_writer.c
tests/lib/test_trace_listener.c
This page took 0.025042 seconds and 4 git commands to generate.