X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Fctf%2Ffs-src%2Fdata-stream-file.c;h=76f5688a412a7670942477adb19b8a8122d51c86;hb=5c5632787fc9cafa602c89a28966bcfd01ec0204;hp=2b97ca3a2c556b8c1f4e611fa997ac8f1b9a2d53;hpb=312c056ae3d374b253fa0cfe5ed576c0b0e5e569;p=babeltrace.git diff --git a/plugins/ctf/fs-src/data-stream-file.c b/plugins/ctf/fs-src/data-stream-file.c index 2b97ca3a..76f5688a 100644 --- a/plugins/ctf/fs-src/data-stream-file.c +++ b/plugins/ctf/fs-src/data-stream-file.c @@ -737,7 +737,7 @@ error: BT_HIDDEN struct ctf_fs_ds_file *ctf_fs_ds_file_create( struct ctf_fs_trace *ctf_fs_trace, - struct bt_notif_iter *notif_iter, + struct bt_graph *graph, struct bt_notif_iter *notif_iter, struct bt_stream *stream, const char *path) { int ret; @@ -748,6 +748,7 @@ struct ctf_fs_ds_file *ctf_fs_ds_file_create( goto error; } + ds_file->graph = graph; ds_file->file = ctf_fs_file_create(); if (!ds_file->file) { goto error; @@ -827,7 +828,8 @@ struct bt_notification_iterator_next_method_return ctf_fs_ds_file_next( }; notif_iter_status = bt_notif_iter_get_next_notification( - ds_file->notif_iter, ds_file->cc_prio_map, &ret.notification); + ds_file->notif_iter, ds_file->cc_prio_map, ds_file->graph, + &ret.notification); switch (notif_iter_status) { case BT_NOTIF_ITER_STATUS_EOF: