Create all trace directories and files with client user credentials
[lttng-tools.git] / lttng-sessiond / ust-app.h
index a5ae56a21398d1f7f6c482a3347acf0bc96da930..0c753ab36eb66c72056c722fd1e2b75cfbd047b3 100644 (file)
@@ -88,11 +88,14 @@ struct ust_app_session {
        int enabled;
        /* started: has the session been in started state at any time ? */
        int started;  /* allows detection of start vs restart. */
-       int handle;   /* Used has unique identifier */
-       unsigned int uid;
+       int handle;   /* used has unique identifier for app session */
+       int id;       /* session unique identifier */
        struct ltt_ust_metadata *metadata;
        struct cds_lfht *channels; /* Registered channels */
        struct cds_lfht_node node;
+       /* UID/GID of the user owning the session */
+       uid_t uid;
+       gid_t gid;
        char path[PATH_MAX];
 };
 
This page took 0.025096 seconds and 4 git commands to generate.