X-Git-Url: https://git.liburcu.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.hpp;h=9de8d05a3cb188b98c12e8c0c5ac1a476500591a;hp=053744904c7c7907dadae920520f6f46cc9b0d0d;hb=f40b76aed659ff694cf948bf8ebd1d4b5741c986;hpb=a968a9e069d76bfb1ac416dc834994c6a82b085e diff --git a/src/common/consumer/consumer.hpp b/src/common/consumer/consumer.hpp index 053744904..9de8d05a3 100644 --- a/src/common/consumer/consumer.hpp +++ b/src/common/consumer/consumer.hpp @@ -20,6 +20,7 @@ #include #include #include +#include #include @@ -184,6 +185,11 @@ struct lttng_consumer_channel { /* Metadata cache is metadata channel */ struct consumer_metadata_cache *metadata_cache; + /* + * Wait queue awaiting updates to metadata stream's flushed position. + */ + struct lttng_wait_queue metadata_pushed_wait_queue; + /* For UST metadata periodical flush */ int switch_timer_enabled; timer_t switch_timer;