X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fconsumer.h;h=e45d5b0bf4a99b9311968529e31150bfc0188dad;hp=5e8ad9b9e7c006bb1999d09a9ba7777c98ff0d94;hb=f3f0db50cf3fbc658bb4ffaf79a7fb694ab05e1d;hpb=a23ec3a78becfaeca0041c4a6747d30b3ac44bfd diff --git a/src/bin/lttng-sessiond/consumer.h b/src/bin/lttng-sessiond/consumer.h index 5e8ad9b9e..e45d5b0bf 100644 --- a/src/bin/lttng-sessiond/consumer.h +++ b/src/bin/lttng-sessiond/consumer.h @@ -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,12 +190,16 @@ 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, uint64_t max_sb_size, uint64_t mmap_len, - const char *name); + const char *name, + unsigned int nb_init_streams); +int consumer_is_data_pending(unsigned int id, + struct consumer_output *consumer); #endif /* _CONSUMER_H */