Split CTF IR and CTF writer APIs and implementations
[babeltrace.git] / lib / graph / notification / packet.c
index 0bbfa8ea1ebb45e1da30f45b851473d66dd2a608..3a6b32376c1f1e71a94ad2365337052c6c2f9196 100644 (file)
@@ -74,7 +74,7 @@ struct bt_notification *bt_notification_packet_begin_create(
        BT_ASSERT_PRE_NON_NULL(packet, "Packet");
        stream = bt_packet_borrow_stream(packet);
        BT_ASSERT(stream);
-       stream_class = bt_stream_borrow_stream_class(stream);
+       stream_class = bt_stream_borrow_class(stream);
        BT_ASSERT(stream_class);
        BT_LOGD("Creating packet beginning notification object: "
                "packet-addr=%p, stream-addr=%p, stream-name=\"%s\", "
@@ -130,7 +130,7 @@ struct bt_notification *bt_notification_packet_end_create(
        BT_ASSERT_PRE_NON_NULL(packet, "Packet");
        stream = bt_packet_borrow_stream(packet);
        BT_ASSERT(stream);
-       stream_class = bt_stream_borrow_stream_class(stream);
+       stream_class = bt_stream_borrow_class(stream);
        BT_ASSERT(stream_class);
        BT_LOGD("Creating packet end notification object: "
                "packet-addr=%p, stream-addr=%p, stream-name=\"%s\", "
This page took 0.02395 seconds and 4 git commands to generate.