- stream->notif_iter = bt_ctf_notif_iter_create(ctf_fs->metadata->trace,
- ctf_fs->page_size, medops, stream,
- ctf_fs->error_fp);
- if (!stream->notif_iter) {
+ ctf_fs_stream->notif_iter = bt_ctf_notif_iter_create(
+ ctf_fs_trace->metadata->trace,
+ ctf_fs_trace->ctf_fs->page_size, medops, ctf_fs_stream,
+ ctf_fs_trace->ctf_fs->error_fp);
+ if (!ctf_fs_stream->notif_iter) {