ir: copy variants and sequences when setting a field path
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 14 May 2015 16:58:52 +0000 (12:58 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 14 May 2015 16:58:52 +0000 (12:58 -0400)
commit5cec03e402aaee5fe314e03f366363a617a7d0c8
treeec954e229c210c87532e53ebbc0bc4674354070c
parent6a43d7325c8e5271a0fecc0b8bd2c557d98beaf9
ir: copy variants and sequences when setting a field path

Variants and sequences might be used in multiple structures. Therefore,
they are replaced by a copy with the path to their tag or sequence
length field set.

This is done on freeze, hence a user should not expect to be able
to modify a sequence's or variant's attributes subsequently.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
formats/ctf/ir/event-types.c
formats/ctf/ir/visitor.c
include/babeltrace/ctf-ir/event-types-internal.h
This page took 0.025388 seconds and 4 git commands to generate.