ctf: read packet sequence number from index
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 1 Nov 2019 19:17:46 +0000 (15:17 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 15 Nov 2019 21:10:12 +0000 (16:10 -0500)
commit408c8c19048ae920f86db078ee53bbb9eb39d927
tree0d3a06c2690fef3fff416e55a8433ddac1ae8ceb
parent44381faea7fa26bf9411c67d7efa201523c8c11f
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.025233 seconds and 4 git commands to generate.