X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-sessiond%2Fust-app.h;h=0c753ab36eb66c72056c722fd1e2b75cfbd047b3;hb=6df2e2c977b698cc6b8f15c90b649516674028f9;hp=a5ae56a21398d1f7f6c482a3347acf0bc96da930;hpb=7f79d3a151871c5bab5bf47aae4eec5f9da1eab7;p=lttng-tools.git diff --git a/lttng-sessiond/ust-app.h b/lttng-sessiond/ust-app.h index a5ae56a21..0c753ab36 100644 --- a/lttng-sessiond/ust-app.h +++ b/lttng-sessiond/ust-app.h @@ -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]; };