+ /*
+ * Network session handle. A value of 0 means that there is no remote
+ * session established.
+ */
+ uint64_t net_handle;
+ /*
+ * This consumer is only set when the create_session_uri call is made.
+ * This contains the temporary information for a consumer output. Upon
+ * creation of the UST or kernel session, this consumer, if available, is
+ * copied into those sessions.
+ */
+ struct consumer_output *consumer;
+
+ /* Did at least ONE start command has been triggered?. */
+ unsigned int has_been_started:1;
+ /*
+ * Is the session active? Start trace command sets this to 1 and the stop
+ * command reset it to 0.
+ */
+ unsigned int active:1;
+
+ /* Snapshot representation in a session. */
+ struct snapshot snapshot;
+ /* Indicate if the session has to output the traces or not. */
+ unsigned int output_traces;
+ /*
+ * This session is in snapshot mode. This means that every channel enabled
+ * will be set in overwrite mode and mmap. It is considered exclusively for
+ * snapshot purposes.
+ */
+ unsigned int snapshot_mode;
+ /*
+ * Timer set when the session is created for live reading.
+ */
+ unsigned int live_timer;