X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=lib%2Ftrace-ir%2Fstream.c;h=5ae914ca82c45ffab6ccbf84123f08e3ed65bb7a;hb=ad5268b5815118fd5f01551b43e493214528f88d;hp=ced7d81f79ebf44d7e33ce1487c88bf1b23e334e;hpb=9dcfa80fb5ee14044c6778d0cb03c38591eb1f3d;p=babeltrace.git diff --git a/lib/trace-ir/stream.c b/lib/trace-ir/stream.c index ced7d81f..5ae914ca 100644 --- a/lib/trace-ir/stream.c +++ b/lib/trace-ir/stream.c @@ -108,8 +108,6 @@ struct bt_stream *create_stream_with_id(struct bt_stream_class *stream_class, "%![sc-]+S, %![trace-]+t", stream_class, trace); BT_ASSERT_PRE(stream_id_is_unique(trace, stream_class, id), "Duplicate stream ID: %![trace-]+t, id=%" PRIu64, trace, id); - BT_ASSERT_PRE(!trace->is_static, - "Trace is static: %![trace-]+t", trace); BT_LIB_LOGD("Creating stream object: %![trace-]+t, id=%" PRIu64, trace, id); stream = g_new0(struct bt_stream, 1);