Make API CTF-agnostic
[babeltrace.git] / lib / graph / notification / event.c
index c31694a625adbc533f14d16096509e4435195a8b..4b50d7fefe5496135eff1ad29b69d75ab273d6e5 100644 (file)
@@ -129,6 +129,8 @@ struct bt_notification *bt_notification_event_create(
 
        BT_ASSERT(!notification->event);
        notification->event = event;
+       bt_packet_set_is_frozen(packet, true);
+       bt_event_class_freeze(event_class);
        BT_LOGD("Created event notification object: "
                "event-addr=%p, event-class-addr=%p, "
                "event-class-name=\"%s\", event-class-id=%" PRId64 ", "
This page took 0.025193 seconds and 4 git commands to generate.