}
static
-int add_stream_ids(struct bt_private_value *info, struct bt_stream *stream)
+int add_stream_ids(struct bt_private_value *info,
+ struct bt_stream *stream)
{
int ret = 0;
int64_t stream_class_id, stream_instance_id;
goto end;
}
- ret = add_stream_ids(group_info, group->stream);
+ ret = add_stream_ids(group_info,
+ bt_stream_borrow_from_private(group->stream));
if (ret) {
goto end;
}
goto end;
}
- trace = ctf_fs_trace_create(trace_path, trace_name, NULL, NULL);
+ trace = ctf_fs_trace_create(trace_path, trace_name, NULL);
if (!trace) {
BT_LOGE("Failed to create fs trace at \'%s\'", trace_path);
ret = -1;