Move bt_message_type_string to common
[babeltrace.git] / src / lib / graph / message / discarded-items.c
index b20e1abf98331b2e39a2a29447b4d5f8213ac6b3..313348c9956aa2221f4bc7e64b41465dc2307482 100644 (file)
@@ -94,7 +94,7 @@ struct bt_message *create_discarded_items_message(
                has_support,
                "Stream class does not support discarded events or packets: "
                "type=%s, %![stream-]+s, %![sc-]+S",
-               bt_message_type_string(type), stream, stream_class);
+               bt_common_message_type_string(type), stream, stream_class);
        BT_ASSERT_PRE_FROM_FUNC(api_func, "with-default-clock-snapshots",
                need_cs ? with_cs : true,
                "Unexpected stream class configuration when creating "
@@ -102,7 +102,7 @@ struct bt_message *create_discarded_items_message(
                "default clock snapshots are needed, but none was provided: "
                "type=%s, %![stream-]+s, %![sc-]+S, with-cs=%d, "
                "cs-begin-val=%" PRIu64 ", cs-end-val=%" PRIu64,
-               bt_message_type_string(type), stream, stream_class,
+               bt_common_message_type_string(type), stream, stream_class,
                with_cs, beginning_raw_value, end_raw_value);
        BT_ASSERT_PRE_FROM_FUNC(api_func, "without-default-clock-snapshots",
                !need_cs ? !with_cs : true,
@@ -111,12 +111,12 @@ struct bt_message *create_discarded_items_message(
                "no default clock snapshots are needed, but two were provided: "
                "type=%s, %![stream-]+s, %![sc-]+S, with-cs=%d, "
                "cs-begin-val=%" PRIu64 ", cs-end-val=%" PRIu64,
-               bt_message_type_string(type), stream, stream_class,
+               bt_common_message_type_string(type), stream, stream_class,
                with_cs, beginning_raw_value, end_raw_value);
        BT_LIB_LOGD("Creating discarded items message object: "
                "type=%s, %![stream-]+s, %![sc-]+S, with-cs=%d, "
                "cs-begin-val=%" PRIu64 ", cs-end-val=%" PRIu64,
-               bt_message_type_string(type), stream, stream_class,
+               bt_common_message_type_string(type), stream, stream_class,
                with_cs, beginning_raw_value, end_raw_value);
        message = g_new0(struct bt_message_discarded_items, 1);
        if (!message) {
This page took 0.023906 seconds and 4 git commands to generate.