X-Git-Url: http://git.lttng.org/?p=lttngtop.git;a=blobdiff_plain;f=src%2Fnetwork-live.h;h=b84fc0ba645b057a9ebdd2b8f57f9076c495c59b;hp=e6cf7d75215842ade56838cd5f80a3b867a6039b;hb=38e240608abcec56b7bee5a076e3992c835de834;hpb=d2f1452b66e796412c4b0c1c73608b156659a650 diff --git a/src/network-live.h b/src/network-live.h index e6cf7d7..b84fc0b 100644 --- a/src/network-live.h +++ b/src/network-live.h @@ -21,7 +21,7 @@ #include #include #include -#include "lttng-index.h" +#include "ctf-index.h" /* Copied from babeltrace/formats/ctf/events-private.h */ static inline @@ -44,8 +44,7 @@ uint64_t ctf_get_real_timestamp(struct ctf_stream_definition *stream, } int list_sessions(void); -int write_index_header(int fd); -void dump_packet_index(struct lttng_packet_index *index); +void dump_packet_index(struct ctf_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);