X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Ffs-src%2Ffs.c;h=ceeb4bc268436141154e59b3bfe8b9502bf51a19;hb=e5f8db56f4cc9b5fba71bafead14ea6f260cdaee;hp=d35b0111f68ea2d5d4505e678ffc25721ccf294d;hpb=1d8437d6d5d187117896955d46865816ef086164;p=babeltrace.git diff --git a/src/plugins/ctf/fs-src/fs.c b/src/plugins/ctf/fs-src/fs.c index d35b0111..ceeb4bc2 100644 --- a/src/plugins/ctf/fs-src/fs.c +++ b/src/plugins/ctf/fs-src/fs.c @@ -265,12 +265,6 @@ bt_component_class_message_iterator_initialize_method_status ctf_fs_iterator_ini goto error; } - /* FIXME: This is temporary, those functions will be removed. */ - ctf_msg_iter_set_emit_stream_end_message( - msg_iter_data->msg_iter, true); - ctf_msg_iter_set_emit_stream_beginning_message( - msg_iter_data->msg_iter, true); - /* * This iterator can seek forward if its stream class has a default * clock class. @@ -770,6 +764,8 @@ int add_ds_file_to_ds_file_group(struct ctf_fs_trace *ctf_fs_trace, goto error; } + ctf_msg_iter_set_dry_run(msg_iter, true); + ret = ctf_msg_iter_get_packet_properties(msg_iter, &props); if (ret) { BT_COMP_OR_COMP_CLASS_LOGE_APPEND_CAUSE(self_comp, self_comp_class, @@ -814,7 +810,7 @@ int add_ds_file_to_ds_file_group(struct ctf_fs_trace *ctf_fs_trace, if (begin_ns == -1) { /* - * No beggining timestamp to sort the stream files + * No beginning timestamp to sort the stream files * within a stream file group, so consider that this * file must be the only one within its group. */