X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fconsumer.h;h=e45d5b0bf4a99b9311968529e31150bfc0188dad;hb=edb8b045f1abe76804200921e7b2eb42ec66b5e4;hp=6855068dbedc86162acdeb00b8328db3aa808732;hpb=c890b720e435173420cac747c5701147ff7ead99;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/consumer.h b/src/bin/lttng-sessiond/consumer.h index 6855068db..e45d5b0bf 100644 --- a/src/bin/lttng-sessiond/consumer.h +++ b/src/bin/lttng-sessiond/consumer.h @@ -190,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, @@ -198,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 */