goto end;
}
+ trace = bt_ctf_stream_class_get_trace(stream_class);
+ if (trace && trace->is_static) {
+ ret = -1;
+ goto end;
+ }
+
event_id = g_new(int64_t, 1);
if (!event_id) {
ret = -1;
goto end;
}
- trace = bt_ctf_stream_class_get_trace(stream_class);
if (trace) {
/*
* If the stream class is associated with a trace, then