Freeze bt_clock_class_priority_map in related notifications
[babeltrace.git] / lib / graph / notification / event.c
index 6a1903dc34998d959b0f8623466e4a26c7f861ab..44bb6f23c73215361692066990d8b40d4740def9 100644 (file)
@@ -31,6 +31,7 @@
 #include <babeltrace/ctf-ir/stream-class-internal.h>
 #include <babeltrace/ctf-ir/trace.h>
 #include <babeltrace/graph/clock-class-priority-map.h>
+#include <babeltrace/graph/clock-class-priority-map-internal.h>
 #include <babeltrace/graph/notification-event-internal.h>
 
 static
@@ -144,6 +145,7 @@ struct bt_notification *bt_notification_event_create(struct bt_ctf_event *event,
        }
 
        bt_ctf_event_freeze(notification->event);
+       bt_clock_class_priority_map_freeze(notification->cc_prio_map);
        return &notification->parent;
 error:
        bt_put(notification);
This page took 0.024118 seconds and 4 git commands to generate.