ir: move the stream event ctx field to the event
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 12 Feb 2016 00:27:42 +0000 (19:27 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 19 Feb 2016 22:34:35 +0000 (17:34 -0500)
commit5fd2e9fda6185e989583e6e61b9312683149747e
treef931688454997b881bdd1c41c7545343c5893e3d
parent7158d791b5e1fd0b0419417717c861a85f458202
ir: move the stream event ctx field to the event

Just like the event header, the stream event context field has
its type defined in the stream class, but its data can be different
in each event. The current strategy to sample and copy the current
stream's stream event context and append the copies to an array
is fine as far as CTF writer goes, but this array would not be
populated strictly using the event in the context of Babeltrace
components.

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