X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.hpp;h=fb7f59bb21883ec8c8888c1069ab66020b548d45;hb=319dcddc7409961e156af76666fe70d31baec55a;hp=dd8eb40d44798c8466c7f3d3eaa794ee6d60c169;hpb=c715ddc950bf653d9456d92c6ead2e3cbd3c54ae;p=lttng-tools.git diff --git a/src/common/consumer/consumer.hpp b/src/common/consumer/consumer.hpp index dd8eb40d4..fb7f59bb2 100644 --- a/src/common/consumer/consumer.hpp +++ b/src/common/consumer/consumer.hpp @@ -253,6 +253,7 @@ struct lttng_consumer_channel { uint64_t lost_packets; bool streams_sent_to_relayd; + uint64_t last_consumed_size_sample_sent; }; struct stream_subbuffer { @@ -1085,5 +1086,6 @@ enum lttcomm_return_code lttng_consumer_open_channel_packets( struct lttng_consumer_channel *channel); int consumer_metadata_wakeup_pipe(const struct lttng_consumer_channel *channel); void lttng_consumer_sigbus_handle(void *addr); +void sample_and_send_channel_buffer_stats(struct lttng_consumer_channel *channel); #endif /* LIB_CONSUMER_H */