X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.h;h=6a38e50e55a0a5a9b8c3d6eea784a718379b594d;hp=527331298c0440ece041d2a73a5296352aa8304b;hb=cf0bcb51ea857687a353d2851e572dba6cc63cb0;hpb=83b45089a2624e885b0f0308be7ba5b061b23282 diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index 527331298..6a38e50e5 100644 --- a/src/common/consumer/consumer.h +++ b/src/common/consumer/consumer.h @@ -161,6 +161,7 @@ struct lttng_consumer_channel { /* Metadata cache is metadata channel */ struct consumer_metadata_cache *metadata_cache; + /* For UST metadata periodical flush */ int switch_timer_enabled; timer_t switch_timer; @@ -601,6 +602,9 @@ struct lttng_consumer_global_data { struct lttng_ht *stream_per_chan_id_ht; }; +/* Flag used to temporarily pause data consumption from testpoints. */ +extern int data_consumption_paused; + /* * Init consumer data structures. */