Add kernel sesison and channel creation support
[lttng-tools.git] / ltt-sessiond / session.h
index 586c55a246ddc70908fe76e0265239c8ae481c4c..7567d986767b185e2be046c44eb3675c949570f3 100644 (file)
@@ -20,6 +20,7 @@
 #define _LTT_SESSION_H
 
 #include <lttng/lttng.h>
+#include <urcu/list.h>
 #include <uuid/uuid.h>
 
 /* Global session list */
@@ -31,13 +32,13 @@ struct ltt_session_list {
  * to identify a tracing session for both LTTng and UST.
  */
 struct ltt_session {
-       char *name;
        struct cds_list_head list;
+       char *name;
        uuid_t uuid;
        struct cds_list_head ust_traces;
-       struct cds_list_head kernel_traces;
+       struct ltt_kernel_session *kernel_session;
        unsigned int ust_trace_count;
-       unsigned int kern_trace_count;
+       unsigned int kern_session_count;
        pid_t ust_consumer;
        pid_t kernel_consumer;
 };
This page took 0.023461 seconds and 4 git commands to generate.