goto end;
}
+ /* A stream has no ownership of its trace (weak ptr) */
stream->trace = trace;
bt_ctf_ref_init(&stream->ref_count);
stream->packet_context = bt_ctf_field_create(
return ret;
}
-BT_HIDDEN
-void bt_ctf_stream_set_trace(struct bt_ctf_stream *stream,
- struct bt_ctf_trace *trace)
-{
- stream->trace = trace;
-}
-
struct bt_ctf_stream_class *bt_ctf_stream_get_class(
struct bt_ctf_stream *stream)
{