X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer-metadata-cache.h;h=aaf9f24d2a5a978b4c0024d290be86910a1ae0df;hb=df5b86c84d896eb2d74a8757c234492c1d1fc3be;hp=b1a4dc2b777fad31b91a8ecf040b439f180776c3;hpb=73811eccc9599ebf62e5f5bee49039cecc25c3eb;p=lttng-tools.git diff --git a/src/common/consumer-metadata-cache.h b/src/common/consumer-metadata-cache.h index b1a4dc2b7..aaf9f24d2 100644 --- a/src/common/consumer-metadata-cache.h +++ b/src/common/consumer-metadata-cache.h @@ -25,9 +25,9 @@ struct consumer_metadata_cache { char *data; uint64_t cache_alloc_size; /* - * How many bytes from the cache were already sent to the ring buffer. + * How many bytes from the cache are written contiguously. */ - uint64_t rb_pushed; + uint64_t contiguous; /* * How many bytes are written in the buffer (excluding the wholes). */ @@ -54,6 +54,6 @@ int consumer_metadata_cache_write(struct lttng_consumer_channel *channel, int consumer_metadata_cache_allocate(struct lttng_consumer_channel *channel); void consumer_metadata_cache_destroy(struct lttng_consumer_channel *channel); int consumer_metadata_cache_flushed(struct lttng_consumer_channel *channel, - uint64_t offset); + uint64_t offset, int timer); #endif /* CONSUMER_METADATA_CACHE_H */