X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Ftext%2Fdmesg%2Fdmesg.c;h=332322b83e4f410be598444456e114d916bc914b;hb=0f2d58c93fe05b0f40c1c9589aa59d4f9cad877b;hp=4a7876d7053fc3680001b0ef66fdaecbb591516f;hpb=416937235b48b55387c6074adc6a0dd59a5c76f4;p=babeltrace.git diff --git a/plugins/text/dmesg/dmesg.c b/plugins/text/dmesg/dmesg.c index 4a7876d7..332322b8 100644 --- a/plugins/text/dmesg/dmesg.c +++ b/plugins/text/dmesg/dmesg.c @@ -137,7 +137,8 @@ int create_meta(struct dmesg_component *dmesg_comp, bool has_ts) } if (has_ts) { - dmesg_comp->clock_class = bt_clock_class_create(); + dmesg_comp->clock_class = bt_clock_class_create( + dmesg_comp->trace_class); if (!dmesg_comp->clock_class) { BT_LOGE_STR("Cannot create clock class."); goto error;