X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf%2Fmetadata.h;h=903d018dd9cb7c6811fcb9ce42712a29864c88f3;hp=de1a70d101b921975a5f10fb23b183ff9e558adb;hb=764af3f43c289a0a5cd8bf6fd85d9361ae17a253;hpb=8178fe486a1274ad1b0d2ec56039e2bf92f4ae18 diff --git a/include/babeltrace/ctf/metadata.h b/include/babeltrace/ctf/metadata.h index de1a70d1..903d018d 100644 --- a/include/babeltrace/ctf/metadata.h +++ b/include/babeltrace/ctf/metadata.h @@ -32,11 +32,17 @@ struct ctf_trace; struct ctf_stream_class; +struct ctf_stream; struct ctf_event; +struct ctf_stream { + struct ctf_stream_class *stream_class; + uint64_t timestamp; /* Current timestamp, in ns */ +}; + struct ctf_file_stream { uint64_t stream_id; - struct ctf_stream_class *stream; + struct ctf_stream stream; struct ctf_stream_pos pos; /* current stream position */ };