X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Fctf%2Flttng-live%2Flttng-live-internal.h;h=8b0af2d04161d8d239a650749c8448e1354feb9a;hb=6f79a7cf4f5f065267895765f2277c6a12437f37;hp=9aec9f7bf771e500b69ada809cde3ce89a0da540;hpb=c42ea0af12bb273cd7a1131f38f0a1cb4b42a8e2;p=babeltrace.git diff --git a/plugins/ctf/lttng-live/lttng-live-internal.h b/plugins/ctf/lttng-live/lttng-live-internal.h index 9aec9f7b..8b0af2d0 100644 --- a/plugins/ctf/lttng-live/lttng-live-internal.h +++ b/plugins/ctf/lttng-live/lttng-live-internal.h @@ -34,6 +34,7 @@ #include #include #include +#include #include "viewer-connection.h" //TODO: this should not be used by plugins. Should copy code into plugin @@ -73,7 +74,7 @@ struct lttng_live_stream_iterator { struct bt_ctf_stream *stream; struct lttng_live_trace *trace; - struct bt_private_port *port; + struct bt_private_port *port; /* weak ref. */ /* Node of stream list within the trace. */ struct bt_list_head node; @@ -109,7 +110,7 @@ struct lttng_live_no_stream_iterator { struct lttng_live_stream_iterator_generic p; struct lttng_live_component *lttng_live; - struct bt_private_port *port; + struct bt_private_port *port; /* weak ref. */ }; struct lttng_live_component_options { @@ -186,11 +187,10 @@ struct lttng_live_component { size_t max_query_size; struct lttng_live_component_options options; - struct bt_private_port *no_stream_port; + struct bt_private_port *no_stream_port; /* weak */ struct lttng_live_no_stream_iterator *no_stream_iter; struct bt_component *downstream_component; - struct bt_graph *graph; /* weak */ }; enum bt_ctf_lttng_live_iterator_status { @@ -266,4 +266,6 @@ struct lttng_live_trace *lttng_live_ref_trace( void lttng_live_unref_trace(struct lttng_live_trace *trace); void lttng_live_need_new_streams(struct lttng_live_component *lttng_live); +bt_bool lttng_live_is_canceled(struct lttng_live_component *lttng_live); + #endif /* BABELTRACE_PLUGIN_CTF_LTTNG_LIVE_INTERNAL_H */