#include <stdio.h>
#include <babeltrace/mmap-align.h>
+#define LAST_OFFSET_POISON ((ssize_t) -1L)
+
struct bt_stream_callbacks;
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 */