Create a consumer daemon trace chunk registry on launch
[lttng-tools.git] / src / common / consumer / consumer.h
index 1c1d01de911fee38edcbb3c9c089b0f5a7b11e8c..0c757b84fb3c56b4399afee157d47fe0808b398a 100644 (file)
@@ -34,6 +34,7 @@
 #include <common/sessiond-comm/sessiond-comm.h>
 #include <common/pipe.h>
 #include <common/index/ctf-index.h>
+#include <common/trace-chunk-registry.h>
 
 /* Commands for consumer */
 enum lttng_consumer_command {
@@ -651,6 +652,11 @@ struct lttng_consumer_global_data {
         * This HT uses the "node_channel_id" of the consumer stream.
         */
        struct lttng_ht *stream_per_chan_id_ht;
+
+       /*
+        * Trace chunk registry indexed by (session_id, chunk_id).
+        */
+       struct lttng_trace_chunk_registry *chunk_registry;
 };
 
 /*
This page took 0.025072 seconds and 5 git commands to generate.