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)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
commit7fcdb0a96f75d66f5ff4f32d3ca78d7ca6067e4c
tree8a6c1f0df9ba9a116562c5c6c04aadc0ded0e2fa
parentb9fd9cbba60297c02bea7473d4347c588d9724d7
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.041073 seconds and 4 git commands to generate.