ctf_fs_ds_file_destroy(notif_iter_data->ds_file);
notif_iter_data->ds_file = ctf_fs_ds_file_create(
notif_iter_data->ds_file_group->ctf_fs_trace,
- notif_iter_data->graph,
+ notif_iter_data->pc_notif_iter,
notif_iter_data->notif_iter,
notif_iter_data->ds_file_group->stream,
ds_file_info->path->str);
goto error;
}
- notif_iter_data->graph = bt_component_borrow_graph(
- bt_component_borrow_from_private(port_data->ctf_fs->priv_comp));
+ notif_iter_data->pc_notif_iter = it;
notif_iter_data->notif_iter = bt_notif_iter_create(
port_data->ds_file_group->ctf_fs_trace->metadata->trace,
bt_common_get_page_size() * 8,
goto error;
}
- ds_file = ctf_fs_ds_file_create(ctf_fs_trace, graph, notif_iter,
+ ds_file = ctf_fs_ds_file_create(ctf_fs_trace, NULL, notif_iter,
NULL, path);
if (!ds_file) {
goto error;