ctf: read packet sequence number from index
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 1 Nov 2019 19:17:46 +0000 (15:17 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Fri, 15 Nov 2019 18:08:11 +0000 (13:08 -0500)
commit6834784db7638d11ca5b1f7f6e6a26c19e2ad75a
tree9cfa4c75efa96d108282556a12156dc0685fee2a
parentcbca1c06c79966c7fb9fe5b08ccd9c95fa3620cc
ctf: read packet sequence number from index

Starting with version 1.1, the CTF index format includes a packet
sequence number.  Read it, if the index minor version is >=1.  The index
major version is already checked to always be 1 above in the code.

If the version is lower than that, store UINT64_MAX in the
packet_seq_num field of the ctf_fs_ds_index_entry structure.

This information will be used in a subsequent patch.

Change-Id: I7b94a94344b26638ae4b7cfc4659067bebc7e195
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
src/plugins/ctf/fs-src/data-stream-file.c
src/plugins/ctf/fs-src/fs.h
This page took 0.023718 seconds and 4 git commands to generate.