X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Flttng-live%2Flttng-live.h;h=ef799fd7f5d402fc420cde3bd76e6fea765b1739;hp=56492be0c81a3f5c340e614d4067deb93ee355b9;hb=21fe3eb3b83998d6fad94f7ec346d57593afe8c1;hpb=857eaa682bde4acfb5b9437ac9ace2d429d7107a diff --git a/formats/lttng-live/lttng-live.h b/formats/lttng-live/lttng-live.h index 56492be0..ef799fd7 100644 --- a/formats/lttng-live/lttng-live.h +++ b/formats/lttng-live/lttng-live.h @@ -25,6 +25,8 @@ */ #include +#include +#include #include "lttng-viewer-abi.h" #define LTTNG_DEFAULT_NETWORK_VIEWER_PORT 5344 @@ -64,6 +66,7 @@ struct lttng_live_viewer_stream { struct lttng_live_session *session; struct lttng_live_ctf_trace *ctf_trace; struct lttng_viewer_index current_index; + struct bt_list_head stream_node; char path[PATH_MAX]; }; @@ -71,7 +74,7 @@ struct lttng_live_session { uint64_t live_timer_interval; uint64_t stream_count; struct lttng_live_ctx *ctx; - struct lttng_live_viewer_stream *streams; + struct bt_list_head stream_list; GHashTable *ctf_traces; };