ir: allow the creation of an empty clock (nameless)
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Sun, 14 Aug 2016 19:08:38 +0000 (15:08 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 27 May 2017 17:41:38 +0000 (13:41 -0400)
commitc06116f32e056500c8c64364d65d04665a77644b
tree1310e12510b530b1e8512ac45aa8aa427a14f7c4
parent8bbddeca5b02893ed46d6a5bd8833a5be8ad656c
ir: allow the creation of an empty clock (nameless)

bt_ctf_clock_create_empty() is used to create an empty clock object.
This clock has no name, and it cannot be added to any other object
until its name is set using bt_ctf_clock_set_name().

This helps the creation of a clock object when its name is not known
in advance, just like the other properties.

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