From: Jérémie Galarneau Date: Tue, 7 Mar 2023 22:03:27 +0000 (-0500) Subject: Docs: sessiond: document the role of an application's two sockets X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=9fdee7baa566d3424e0d4474d5b78aac08f4456d;hp=20f5a9aeb6d1128823cc87023e1dada534baa1af Docs: sessiond: document the role of an application's two sockets Signed-off-by: Jérémie Galarneau Change-Id: I355588af1b3408c8c209aae09c2897640d4ca5b4 --- diff --git a/src/bin/lttng-sessiond/ust-app.hpp b/src/bin/lttng-sessiond/ust-app.hpp index 2aa79df44..3200b6549 100644 --- a/src/bin/lttng-sessiond/ust-app.hpp +++ b/src/bin/lttng-sessiond/ust-app.hpp @@ -249,9 +249,11 @@ struct ust_app_session { * and a linked list is kept of all running traceable app. */ struct ust_app { + /* Traffic initiated from the session daemon to the application. */ int sock; pthread_mutex_t sock_lock; /* Protects sock protocol. */ + /* Traffic initiated from the application to the session daemon. */ int notify_sock; pid_t pid; pid_t ppid;