Fix: no-output sessions do not enforce snapshot constraints
[lttng-tools.git] / src / bin / lttng-sessiond / session.h
index 82e409521c440c621f06d5d46a86d8cc380e6d6c..8d41c38aa60c911174f37ba92909f1c7d4ab345b 100644 (file)
@@ -121,6 +121,12 @@ struct ltt_session {
         * creation defaults.
         */
        unsigned int snapshot_mode;
+       /*
+        * A session that has channels that don't use 'mmap' output can't be
+        * used to capture snapshots. This is set to true whenever a
+        * 'splice' kernel channel is enabled.
+        */
+       bool has_non_mmap_channel;
        /*
         * Timer set when the session is created for live reading.
         */
This page took 0.024252 seconds and 5 git commands to generate.