From: Mathieu Desnoyers Date: Tue, 16 Jul 2013 00:22:48 +0000 (-0400) Subject: Introduce pipe for UST metadata cache and stream X-Git-Tag: v2.3.0-rc1~21 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=feb78e88e113ec8c6918253e93136b5f6235ad31;p=lttng-tools.git Introduce pipe for UST metadata cache and stream Reviewed-by: Julien Desfossez Signed-off-by: Mathieu Desnoyers --- diff --git a/src/common/consumer.h b/src/common/consumer.h index 3a0c6c8d8..fe396c017 100644 --- a/src/common/consumer.h +++ b/src/common/consumer.h @@ -290,6 +290,16 @@ struct lttng_consumer_stream { * acquired in the destroy path. */ unsigned int globally_visible; + /* + * Pipe to wake up the metadata poll thread when the UST metadata + * cache is updated. + */ + int ust_metadata_poll_pipe[2]; + /* + * How much metadata was read from the metadata cache and sent + * to the channel. + */ + uint64_t ust_metadata_pushed; }; /*