*/
struct ltt_session {
char name[NAME_MAX];
+ /* FIXME : size */
+ char hostname[PATH_MAX]; /* local hostname, FIXME : could be useful to have that user defined too */
struct ltt_kernel_session *kernel_session;
struct ltt_ust_session *ust_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.
+ */
+ int live_timer;
};
/* Prototypes */