relayd: create an implicit trace chunk on session creation
[lttng-tools.git] / src / bin / lttng-relayd / session.h
index 5731310f09f6ac7b7e611f648012578072f19a6c..426cd0317ab46785c06ae44c5ed99c8438b0cc9e 100644 (file)
@@ -29,6 +29,7 @@
 #include <lttng/constant.h>
 #include <common/hashtable/hashtable.h>
 #include <common/compat/uuid.h>
+#include <common/trace-chunk.h>
 
 /*
  * Represents a session for the relay point of view
@@ -107,6 +108,7 @@ struct relay_session {
         * session_list_lock. Traversals are protected by RCU.
         */
        struct cds_list_head viewer_session_node;
+       struct lttng_trace_chunk *current_trace_chunk;
        struct rcu_head rcu_node;       /* For call_rcu teardown. */
 };
 
This page took 0.02378 seconds and 4 git commands to generate.