X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fnetwork-live.h;h=b84fc0ba645b057a9ebdd2b8f57f9076c495c59b;hb=38e240608abcec56b7bee5a076e3992c835de834;hp=6228865d7d4bab232841b674efeb0dc363045553;hpb=b1acd2b342a35dc6c5a8036fb0280321203e89b7;p=lttngtop.git diff --git a/src/network-live.h b/src/network-live.h index 6228865..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,13 +44,11 @@ uint64_t ctf_get_real_timestamp(struct ctf_stream_definition *stream, } int list_sessions(void); -int write_index_header(int fd); -int attach_session(int id); -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); int open_trace(struct bt_context **bt_ctx); -int setup_network_live(char *hostname); +int setup_network_live(char *hostname, int begin); #endif /* _LIVE_H */