Add bt_ctf_stream_class_create_empty()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 2 May 2017 19:19:20 +0000 (15:19 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:41 +0000 (12:57 -0400)
commite0e2946b83c6317aaa2a9ab3abde33fb7366fa42
tree64a4fd37aaaacc1532150f7d3b66373932400ddb
parent7b4717447467c0767abebe2d8ed359f733c8abbe
Add bt_ctf_stream_class_create_empty()

The new bt_ctf_stream_class_create_empty() function creates a new
stream class object with its packet context, event header, and event
context field types set to empty structure field types.

This is more appropriate for source components which do not need the
default fields that bt_ctf_stream_class_create() creates.
bt_ctf_stream_class_create() is kept as is for backward compatibility
with pre-2.0 CTF writer.

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