Fix: consumerd: wrong timer mentioned in error logging
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 15 Mar 2023 20:42:27 +0000 (16:42 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 5 Apr 2024 16:13:53 +0000 (12:13 -0400)
As its name indicates, consumer_timer_monitor_stop() stops the _monitor_
timer; not the live timer. This is most likely a copy-paste error.

The error logging is fixed to mention the appropriate timer.

Change-Id: I418580d8928752a0702d522e3ca74fe54cbe6f8f
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/consumer/consumer-timer.cpp

index 8c9371bae780191207c345e3a39184f4b24c97ab..2ae7f0f73d1b2fdaffe59ed6b21b3814b78e8c22 100644 (file)
@@ -530,7 +530,7 @@ int consumer_timer_monitor_stop(struct lttng_consumer_channel *channel)
 
        ret = consumer_channel_timer_stop(&channel->monitor_timer, LTTNG_CONSUMER_SIG_MONITOR);
        if (ret == -1) {
-               ERR("Failed to stop live timer");
+               ERR("Failed to stop monitor timer");
                goto end;
        }
 
This page took 0.029978 seconds and 4 git commands to generate.