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 18:59:18 +0000 (14:59 -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.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I9768408581fc6a06f47892850a3a91669df35188

src/common/consumer/consumer-timer.c

index c190d3b627d0e8bc2ffc079bcc778456d3d22da4..ecd920717095fa16cd3b76f061204c1c40250207 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.026404 seconds and 4 git commands to generate.