X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fconsumer.h;h=e45d5b0bf4a99b9311968529e31150bfc0188dad;hp=ec4ef3f3162533be8b0f98880eac41dde943e013;hb=f3f0db50cf3fbc658bb4ffaf79a7fb694ab05e1d;hpb=c30aaa51f34105a7f20b9ceb39866001843db6e6 diff --git a/src/bin/lttng-sessiond/consumer.h b/src/bin/lttng-sessiond/consumer.h index ec4ef3f31..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,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 */