From 404956c33fa7a36cdb3ee382e4112fc6aaeb7851 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 12 Dec 2024 21:27:43 +0000 Subject: [PATCH] Clean-up: sessiond: ust-app: comment style fixes MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Iaf79efb1c0fa1724e4883fedeca05979953d01a7 Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/ust-app.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/bin/lttng-sessiond/ust-app.cpp b/src/bin/lttng-sessiond/ust-app.cpp index 65e97e1dc..21b67e9d4 100644 --- a/src/bin/lttng-sessiond/ust-app.cpp +++ b/src/bin/lttng-sessiond/ust-app.cpp @@ -848,7 +848,7 @@ static int push_metadata(const lsu::registry_session::locked_ref& locked_registr goto error; } - /* Get consumer socket to use to push the metadata.*/ + /* Get consumer socket to use to push the metadata. */ socket = consumer_find_socket_by_bitness(locked_registry->abi.bits_per_long, consumer); if (!socket) { ret_val = -1; @@ -5480,7 +5480,7 @@ static int ust_app_flush_session(struct ltt_ust_session *usess) lsu::registry_session *ust_session_reg; struct consumer_socket *socket; - /* Get consumer socket to use to push the metadata.*/ + /* Get consumer socket to use to push the metadata. */ socket = consumer_find_socket_by_bitness(reg->bits_per_long, usess->consumer); if (!socket) { @@ -5616,7 +5616,7 @@ static int ust_app_clear_quiescent_session(struct ltt_ust_session *usess) struct consumer_socket *socket; const lttng::urcu::read_lock_guard read_lock; - /* Get associated consumer socket.*/ + /* Get associated consumer socket. */ socket = consumer_find_socket_by_bitness(reg->bits_per_long, usess->consumer); if (!socket) { @@ -6937,7 +6937,6 @@ int ust_app_recv_notify(int sock) { DBG2("UST app ustctl register key received"); ret = -LTTNG_UST_ERR_NOSYS; - // TODO goto error; } default: @@ -7067,7 +7066,7 @@ enum lttng_error_code ust_app_snapshot_record(const struct ltt_ust_session *uses continue; } - /* Get consumer socket to use to push the metadata.*/ + /* Get consumer socket to use to push the metadata. */ socket = consumer_find_socket_by_bitness(reg->bits_per_long, usess->consumer); if (!socket) { @@ -7456,7 +7455,7 @@ enum lttng_error_code ust_app_rotate_session(const ltt_session::locked_ref& sess struct consumer_socket *socket; const lttng::urcu::read_lock_guard read_lock; - /* Get consumer socket to use to push the metadata.*/ + /* Get consumer socket to use to push the metadata. */ socket = consumer_find_socket_by_bitness(reg->bits_per_long, usess->consumer); if (!socket) { -- 2.39.5