Add filter sequence number to UST
[lttng-tools.git] / src / bin / lttng-sessiond / consumer.h
index ec4ef3f3162533be8b0f98880eac41dde943e013..e45d5b0bf4a99b9311968529e31150bfc0188dad 100644 (file)
@@ -112,7 +112,8 @@ struct consumer_net {
        struct lttng_uri data;
 
        /* Flag if network sockets were sent to the consumer. */
-       unsigned int relayd_socks_sent;
+       unsigned int control_sock_sent;
+       unsigned int data_sock_sent;
 };
 
 /*
@@ -189,7 +190,8 @@ void consumer_init_stream_comm_msg(struct lttcomm_consumer_msg *msg,
                int net_index,
                unsigned int metadata_flag,
                const char *name,
-               const char *pathname);
+               const char *pathname,
+               unsigned int session_id);
 void consumer_init_channel_comm_msg(struct lttcomm_consumer_msg *msg,
                enum lttng_consumer_command cmd,
                int channel_key,
@@ -197,5 +199,7 @@ void consumer_init_channel_comm_msg(struct lttcomm_consumer_msg *msg,
                uint64_t mmap_len,
                const char *name,
                unsigned int nb_init_streams);
+int consumer_is_data_pending(unsigned int id,
+               struct consumer_output *consumer);
 
 #endif /* _CONSUMER_H */
This page took 0.023032 seconds and 4 git commands to generate.