lib: create a clock class object from component
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Sat, 23 Feb 2019 00:53:15 +0000 (19:53 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:38 +0000 (18:19 -0400)
commitc0c2ed348333d47d344c0cd36d34599c01eea75b
tree03f851b240153ba3afcb4e4f17446b595f15927d
parent40bf6fd0de34c06399c8272ba703b43ea042d20a
lib: create a clock class object from component

Before this commit, a trace class was needed for the creation of a clock
class. Turns out that clock class may be needed before the creation any
trace class. For example, Inactivity messages created before a trace has
generated any data need a clock class but no trace class was created yet.

This commit allows for the creation of clock classes even when no trace
classes exist using a component class.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
include/babeltrace/trace-ir/clock-class.h
lib/trace-ir/clock-class.c
plugins/ctf/common/metadata/ctf-meta-translate.c
plugins/ctf/common/metadata/ctf-meta-visitors.h
plugins/ctf/common/metadata/visitor-generate-ir.c
plugins/text/dmesg/dmesg.c
This page took 0.026865 seconds and 4 git commands to generate.