X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf%2Ftypes.h;h=43afaef78e182277e70c4edbe14c517333765471;hp=3b9039e037c13009aad1cb01d6d68327d35c4408;hb=03798a93f959f6c694fe98f5647481947607c604;hpb=aee35fcc7e82d20396d82d151de93b1b51325398 diff --git a/include/babeltrace/ctf/types.h b/include/babeltrace/ctf/types.h index 3b9039e0..43afaef7 100644 --- a/include/babeltrace/ctf/types.h +++ b/include/babeltrace/ctf/types.h @@ -31,6 +31,8 @@ #include #include +#define LAST_OFFSET_POISON ((ssize_t) -1L) + struct bt_stream_callbacks; struct packet_index { @@ -50,7 +52,8 @@ struct packet_index { struct ctf_stream_pos { struct stream_pos parent; int fd; /* backing file fd. -1 if unset. */ - GArray *packet_index; /* contains struct packet_index */ + GArray *packet_cycles_index; /* contains struct packet_index in cycles */ + GArray *packet_real_index; /* contains struct packet_index in ns */ int prot; /* mmap protection */ int flags; /* mmap flags */