ITEM_PAYLOAD,
};
-struct trace_descriptor *ctf_text_open_trace(const char *collection_path,
- const char *path, int flags,
+struct trace_descriptor *ctf_text_open_trace(const char *path, int flags,
void (*move_pos_slow)(struct ctf_stream_pos *pos, size_t offset,
int whence), FILE *metadata_fp);
void ctf_text_close_trace(struct trace_descriptor *descriptor);
/* newline */
fprintf(pos->fp, "\n");
pos->field_nr = 0;
+ stream->consumed = 1;
return 0;
}
-struct trace_descriptor *ctf_text_open_trace(const char *collection_path,
- const char *path, int flags,
+struct trace_descriptor *ctf_text_open_trace(const char *path, int flags,
void (*move_pos_slow)(struct ctf_stream_pos *pos, size_t offset,
int whence), FILE *metadata_fp)
{