ctf: notif-iter.c: lazily initialize clock value states
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 19 Jun 2017 23:46:31 +0000 (19:46 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 6 Jul 2017 21:26:38 +0000 (17:26 -0400)
commit501a85696e031c37817375dcaba9fdbf39ec75bf
tree4d5afe501a22de45c9cb9403e863983943efa9f2
parente31e3b2abf9daf5f5cc13c54cf5d744ec2e05df9
ctf: notif-iter.c: lazily initialize clock value states

Because clock classes can be added to a trace at any time, it is
possible that an integer field type is mapped to a clock class which did
not exist when init_clock_states() is initially called. To fix this,
create the clock state and map it to a clock class when a new clock
class is found.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
plugins/ctf/common/notif-iter/notif-iter.c
This page took 0.024644 seconds and 4 git commands to generate.