ir: add trace UUID getter and setter
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 2 May 2017 16:18:38 +0000 (12:18 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 May 2017 16:57:41 +0000 (12:57 -0400)
commit4a32fda021d515d6d197840fa1444ea4a41ec186
treea0d5589a3592718f6f3cfe78308afb0dd5ddea66
parent089717de1f1515a0e7d2f882677cb89f7757e05f
ir: add trace UUID getter and setter

The trace object's creation does not generate a UUID anymore: a new
trace starts with an unset UUID. When you create a CTF writer object, it
creates a trace object, generates a UUID, and set its trace's UUID. This
ensures backward compatibility with pre-2.0 CTF writer while allowing a
new trace object to have no UUID.

Tests are updated accordingly.

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