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 20:11:50 +0000 (16:11 -0400)
commit8cb1fb6691149cbf0aac1757b4c639de31bc9a40
tree052489e483080ba56aa223c74e98eea0d6eff88a
parent239744fcedfd4dd828b755154aedae0e3a05932e
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.024017 seconds and 4 git commands to generate.