X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.h;h=dd26e51834d5738a653380b0ab8e872902d565ed;hb=5c786dedd0156b93984f89ba47ec841277ed7dae;hp=eeaf1100243e1f232a1acb47e0aacdeb4487293c;hpb=5f4c2d807e49a7d1a5e149615d37ee824f0155a6;p=lttng-tools.git diff --git a/src/common/consumer.h b/src/common/consumer.h index eeaf11002..dd26e5183 100644 --- a/src/common/consumer.h +++ b/src/common/consumer.h @@ -573,5 +573,7 @@ int consumer_send_status_channel(int sock, void notify_thread_del_channel(struct lttng_consumer_local_data *ctx, uint64_t key); void consumer_destroy_relayd(struct consumer_relayd_sock_pair *relayd); +unsigned long consumer_get_consumed_maxsize(unsigned long consumed_pos, + unsigned long produced_pos, uint64_t max_stream_size); #endif /* LIB_CONSUMER_H */