Make bt_ctf_event_class_create() create an empty context FT
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 2 May 2017 19:19:34 +0000 (15:19 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:42 +0000 (12:57 -0400)
commit53a1cae7cefe4497f219c13971bfb85218c6d559
tree642e5c8524b46931fc49cc04866a594e23d68eee
parente0e2946b83c6317aaa2a9ab3abde33fb7366fa42
Make bt_ctf_event_class_create() create an empty context FT

This is in line with bt_ctf_trace_create() and
bt_ctf_stream_class_create_empty(). You can get the empty context FT
with bt_ctf_event_class_get_context_type() after creation and add fields
to it.

Update tests accordingly.

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