X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Ftext%2Fdmesg%2Fdmesg.c;h=90d1d634b3b3330ec7fd9a357bce9ad6f676e171;hb=44de40991164ff3bf3a3e82fc4c96adadbd98ce1;hp=aac38c23e3fa294a17f08d001a91f115c57ed806;hpb=956dcc1ecff7df3d6cb2fee9a7c60e106a8d5892;p=babeltrace.git diff --git a/plugins/text/dmesg/dmesg.c b/plugins/text/dmesg/dmesg.c index aac38c23..90d1d634 100644 --- a/plugins/text/dmesg/dmesg.c +++ b/plugins/text/dmesg/dmesg.c @@ -147,6 +147,13 @@ int create_meta(struct dmesg_component *dmesg_comp, bool has_ts) goto error; } + /* + * The `dmesg` timestamp is not absolute, it's relative + * to the boot time. + */ + bt_clock_class_set_is_absolute(dmesg_comp->clock_class, + BT_FALSE); + ret = bt_stream_class_set_default_clock_class( dmesg_comp->stream_class, dmesg_comp->clock_class); if (ret) {