ir: add stream ID API
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 24 May 2017 00:43:00 +0000 (20:43 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:44 +0000 (12:57 -0400)
commitcfe11c58e0fea043bdfa97d732b9d02db13b492a
treed0152d80d2b47cafc3e51195e5165a896586151c
parent3cfeae101042a978668bad03f3119cc6d9418265
ir: add stream ID API

The new bt_ctf_stream_create_with_id() function creates a stream object,
just like bt_ctf_stream_create(), but with a numeric ID. You cannot
call this function to create a CTF writer stream because CTF writer
streams initialize their own unique ID.

Use bt_ctf_stream_get_id() to get a stream's ID.

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