void dump_packet_index(struct lttng_packet_index *index);
int get_next_index(int id, struct packet_index *index);
void ctf_live_packet_seek(struct bt_stream_pos *stream_pos, size_t index,
int whence);
int open_trace(struct bt_context **bt_ctx);
void dump_packet_index(struct lttng_packet_index *index);
int get_next_index(int id, struct packet_index *index);
void ctf_live_packet_seek(struct bt_stream_pos *stream_pos, size_t index,
int whence);
int open_trace(struct bt_context **bt_ctx);