X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Findex%2Fctf-index.h;h=8755f1218ad3d114ac8f464051de42d7f92d23af;hp=1f38d9ab031fc9e08579179d94c573731489d614;hb=234cd6367843a2106a4cb10f8fb99443208516df;hpb=000fa86f1276f62aa32cdb18f6556db1bdeee09b diff --git a/src/common/index/ctf-index.h b/src/common/index/ctf-index.h index 1f38d9ab0..8755f1218 100644 --- a/src/common/index/ctf-index.h +++ b/src/common/index/ctf-index.h @@ -29,7 +29,7 @@ #define CTF_INDEX_MAGIC 0xC1F1DCC1 #define CTF_INDEX_MAJOR 1 -#define CTF_INDEX_MINOR 0 +#define CTF_INDEX_MINOR 1 /* * Header at the beginning of each index file. @@ -54,7 +54,10 @@ struct ctf_packet_index { uint64_t timestamp_begin; uint64_t timestamp_end; uint64_t events_discarded; - uint64_t stream_id; + uint64_t stream_id; /* ID of the channel */ + /* CTF_INDEX 1.0 limit */ + uint64_t stream_instance_id; /* ID of the channel instance */ + uint64_t packet_seq_num; /* packet sequence number */ } __attribute__((__packed__)); #endif /* LTTNG_INDEX_H */