X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer-metadata-cache.h;h=4a671b23856874f49f12b65aa97198d0615ee8f8;hb=27c3d93497da2a109e6e42e9ef8c78e42caa127e;hp=164f9eaae0689d68262e007278bbfc82a3a7d6ac;hpb=331744e34f56a5aec69b05d356d6901e67926acc;p=lttng-tools.git diff --git a/src/common/consumer-metadata-cache.h b/src/common/consumer-metadata-cache.h index 164f9eaae..4a671b238 100644 --- a/src/common/consumer-metadata-cache.h +++ b/src/common/consumer-metadata-cache.h @@ -43,6 +43,8 @@ struct consumer_metadata_cache { /* * Lock to update the metadata cache and push into the ring_buffer * (ustctl_write_metadata_to_channel). + * + * This is nested INSIDE the consumer_data lock. */ pthread_mutex_t lock; }; @@ -52,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 */