Add channel output method selection
[lttng-tools.git] / ltt-sessiond / session.h
index 16e6946a754dbd5bd80e98f28f601fa956b55413..1e274b41103f4f278954beab41d357191db367f0 100644 (file)
@@ -28,24 +28,26 @@ struct ltt_session_list {
        struct cds_list_head head;
 };
 
+extern struct ltt_session_list ltt_session_list;
+
 /* ltt-session - This data structure contains information needed
  * to identify a tracing session for both LTTng and UST.
  */
 struct ltt_session {
        struct cds_list_head list;
        char *name;
+       char *path;
        uuid_t uuid;
        struct cds_list_head ust_traces;
        struct ltt_kernel_session *kernel_session;
        unsigned int ust_trace_count;
        unsigned int kern_session_count;
        pid_t ust_consumer;
-       pid_t kernel_consumer;
 };
 
 /* Prototypes */
-int create_session(char *name, uuid_t *session_id);
-int destroy_session(uuid_t *uuid);
+int create_session(char *name, char *path);
+int destroy_session(char *name);
 void get_lttng_session(struct lttng_session *sessions);
 struct ltt_session *find_session_by_uuid(uuid_t session_id);
 struct ltt_session *find_session_by_name(char *name);
This page took 0.023371 seconds and 4 git commands to generate.