Fix: enable-consumer for all domains missing dir
[lttng-tools.git] / src / bin / lttng-relayd / lttng-relayd.h
index 8bbc279c3a61f993f322988935b1847976e9ccf0..f231f0f6c0b85b172a56ba0c9d2d0cde15481fa7 100644 (file)
@@ -50,10 +50,15 @@ struct relay_session {
  */
 struct relay_stream {
        uint64_t stream_handle;
-       uint64_t seq;
+       uint64_t prev_seq;      /* previous data sequence number encountered */
        struct lttng_ht_node_ulong stream_n;
        struct relay_session *session;
+       struct rcu_head rcu_node;
        int fd;
+
+       /* Information telling us when to close the stream  */
+       unsigned int close_flag:1;
+       uint64_t last_net_seq_num;
 };
 
 /*
@@ -65,6 +70,7 @@ struct relay_command {
        struct relay_session *session;
        struct cds_wfq_node node;
        struct lttng_ht_node_ulong sock_n;
+       struct rcu_head rcu_node;
        enum connection_type type;
 };
 
This page took 0.022777 seconds and 4 git commands to generate.