X-Git-Url: https://git.liburcu.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fust-app.h;h=3daccba8622bd96a603a895b86d551ff98e2b57e;hp=ff0720d18c503518ec485253a225964ef3377dee;hb=10b56aefc3e1de5cee607994f64c3b8a7d85c391;hpb=c82fce01c4a94b36b54149f46b1824ec10321734 diff --git a/src/bin/lttng-sessiond/ust-app.h b/src/bin/lttng-sessiond/ust-app.h index ff0720d18..3daccba86 100644 --- a/src/bin/lttng-sessiond/ust-app.h +++ b/src/bin/lttng-sessiond/ust-app.h @@ -192,6 +192,11 @@ struct ust_app_session { uint64_t id; /* Unique session identifier */ struct lttng_ht *channels; /* Registered channels */ struct lttng_ht_node_u64 node; + /* + * Node indexed by UST session object descriptor (handle). Stored in the + * ust_sessions_objd hash table in the ust_app object. + */ + struct lttng_ht_node_ulong ust_objd_node; char path[PATH_MAX]; /* UID/GID of the application owning the session */ uid_t uid; @@ -272,6 +277,10 @@ struct ust_app { * Hash table containing ust_app_channel indexed by channel objd. */ struct lttng_ht *ust_objd; + /* + * Hash table containing ust_app_session indexed by objd. + */ + struct lttng_ht *ust_sessions_objd; /* * If this application is of the agent domain and this is non negative then