Fix: sessiond: bad fd used while rotating exiting app's buffers
[lttng-tools.git] / src / bin / lttng-sessiond / session.h
index 1a31d3f0bdfd5fe9240a8de968428a7ed6293924..a628ace3b149d9e56913da37fd87aa25b80af40e 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2011 David Goulet <david.goulet@polymtl.ca>
+ * Copyright (C) 2011 EfficiOS Inc.
  *
  * SPDX-License-Identifier: GPL-2.0-only
  *
@@ -181,10 +181,10 @@ struct ltt_session {
         */
        bool rotated;
        /*
-        * Condition and trigger for size-based rotations.
+        * Trigger for size-based rotations.
         */
-       struct lttng_condition *rotate_condition;
        struct lttng_trigger *rotate_trigger;
+
        LTTNG_OPTIONAL(uint64_t) most_recent_chunk_id;
        struct lttng_trace_chunk *current_trace_chunk;
        struct lttng_trace_chunk *chunk_being_archived;
@@ -193,6 +193,7 @@ struct ltt_session {
        bool quiet_rotation;
        char *last_archived_chunk_name;
        LTTNG_OPTIONAL(uint64_t) last_archived_chunk_id;
+
        struct lttng_dynamic_array destroy_notifiers;
        struct lttng_dynamic_array clear_notifiers;
        /* Session base path override. Set non-null. */
This page took 0.025328 seconds and 4 git commands to generate.