X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Ftext%2Fdmesg%2Fdmesg.c;h=d8afa858c4af47006a1d8d2a51603c0cb4de0c76;hb=7fcdb0a96f75d66f5ff4f32d3ca78d7ca6067e4c;hp=914ae06361e6db2a583a6c90deb4a88b4d21e5f9;hpb=b9fd9cbba60297c02bea7473d4347c588d9724d7;p=babeltrace.git diff --git a/plugins/text/dmesg/dmesg.c b/plugins/text/dmesg/dmesg.c index 914ae063..d8afa858 100644 --- a/plugins/text/dmesg/dmesg.c +++ b/plugins/text/dmesg/dmesg.c @@ -141,7 +141,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->trace_class); + bt_self_component_source_as_self_component( + dmesg_comp->self_comp)); if (!dmesg_comp->clock_class) { BT_LOGE_STR("Cannot create clock class."); goto error;