From feb78e88e113ec8c6918253e93136b5f6235ad31 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 15 Jul 2013 20:22:48 -0400 Subject: [PATCH] Introduce pipe for UST metadata cache and stream Reviewed-by: Julien Desfossez Signed-off-by: Mathieu Desnoyers --- src/common/consumer.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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; }; /* -- 2.34.1