Update lttng-ust-abi.h local copy
[lttng-tools.git] / lttng-sessiond / session.h
index f6a9fff4de0a2351f004ca24fdea5ec409a0b3bc..6264e14ac4f0b6430fd06f9960e0c9915e539fa2 100644 (file)
@@ -20,6 +20,7 @@
 #define _LTT_SESSION_H
 
 #include <pthread.h>
+#include <unistd.h>
 #include <urcu/list.h>
 
 #include "trace-kernel.h"
@@ -67,10 +68,15 @@ struct ltt_session {
         */
        pthread_mutex_t lock;
        struct cds_list_head list;
+       int enabled;    /* enabled/started flag */
+       int id;         /* session unique identifier */
+       /* UID/GID of the user owning the session */
+       uid_t uid;
+       gid_t gid;
 };
 
 /* Prototypes */
-int session_create(char *name, char *path);
+int session_create(char *name, char *path, uid_t uid, gid_t gid);
 int session_destroy(struct ltt_session *session);
 
 void session_lock(struct ltt_session *session);
This page took 0.023096 seconds and 4 git commands to generate.