X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=plugins%2Fctf%2Ffs-src%2Ffs.c;h=6f5517c07a168d3309cb0a8d548b51be8ae1b6fa;hb=7b8d4b0fb85d75f6728f2172a289b8386bff2059;hp=409a3dd4caa9857bafeaa3abe098b5098b0dc165;hpb=d09752f826efdbd637734d59e979f7dac5b137f1;p=babeltrace.git diff --git a/plugins/ctf/fs-src/fs.c b/plugins/ctf/fs-src/fs.c index 409a3dd4..6f5517c0 100644 --- a/plugins/ctf/fs-src/fs.c +++ b/plugins/ctf/fs-src/fs.c @@ -377,6 +377,7 @@ end: return ret; } +static uint64_t get_packet_header_stream_instance_id(struct ctf_fs_trace *ctf_fs_trace, struct bt_ctf_field *packet_header_field) { @@ -898,7 +899,7 @@ int create_ds_file_groups(struct ctf_fs_trace *ctf_fs_trace) g_string_free(name, TRUE); - if (!ds_file_group) { + if (!ds_file_group->stream) { BT_LOGE("Cannot create stream for DS file group: " "addr=%p, stream-name=\"%s\"", ds_file_group, name->str);