From 9fdee7baa566d3424e0d4474d5b78aac08f4456d Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 7 Mar 2023 17:03:27 -0500 Subject: [PATCH] Docs: sessiond: document the role of an application's two sockets MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau Change-Id: I355588af1b3408c8c209aae09c2897640d4ca5b4 --- src/bin/lttng-sessiond/ust-app.hpp | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.34.1