From af9ab8f4cfd72ed68f57922f53ac471c1226b854 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 24 Jul 2024 18:22:22 +0000 Subject: [PATCH] Clean-up: sessiond: ust-ctl-internal: fix clang-tidy warnings MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I797e49ed73524d19decb9fc53a5423ccfd5df7a1 Signed-off-by: Jérémie Galarneau --- src/bin/lttng-sessiond/ust-ctl-internal.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/lttng-sessiond/ust-ctl-internal.hpp b/src/bin/lttng-sessiond/ust-ctl-internal.hpp index bb2b31868..d2463c93f 100644 --- a/src/bin/lttng-sessiond/ust-ctl-internal.hpp +++ b/src/bin/lttng-sessiond/ust-ctl-internal.hpp @@ -180,7 +180,7 @@ struct lttng_ust_ctl_consumer_channel; struct lttng_ust_ctl_consumer_stream; struct lttng_ust_ctl_consumer_channel_attr; -int lttng_ust_ctl_get_nr_stream_per_channel(void); +int lttng_ust_ctl_get_nr_stream_per_channel(); struct lttng_ust_ctl_consumer_channel *lttng_ust_ctl_create_channel( struct lttng_ust_ctl_consumer_channel_attr *attr, const int *stream_fds, int nr_stream_fds); @@ -286,7 +286,7 @@ int lttng_ust_ctl_get_instance_id(struct lttng_ust_ctl_consumer_stream *stream, int lttng_ust_ctl_get_current_timestamp(struct lttng_ust_ctl_consumer_stream *stream, uint64_t *ts); /* returns whether UST has perf counters support. */ -int lttng_ust_ctl_has_perf_counters(void); +int lttng_ust_ctl_has_perf_counters(); /* Regenerate the statedump. */ int lttng_ust_ctl_regenerate_statedump(int sock, int handle); @@ -632,7 +632,7 @@ enum lttng_ust_ctl_counter_alloc { struct lttng_ust_ctl_daemon_counter; -int lttng_ust_ctl_get_nr_cpu_per_counter(void); +int lttng_ust_ctl_get_nr_cpu_per_counter(); struct lttng_ust_ctl_counter_dimension { uint64_t size; -- 2.34.1