struct cds_list_head viewer_session_node;
struct lttng_trace_chunk *current_trace_chunk;
struct lttng_trace_chunk *pending_closure_trace_chunk;
+ /*
+ * Prevent live viewers from taking of copy of the chunk
+ * while new chunk has a temporary directory name.
+ */
+ bool ongoing_rotation;
struct rcu_head rcu_node; /* For call_rcu teardown. */
};