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:21:18 +0000 (12:21 -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 a16ae2eb95a50eda2e6a83e12aeb11b14babff1c..b6bde28b323dbd37b14bec868f87bddf7a2de27c 100644 (file)
@@ -534,7 +534,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.035212 seconds and 4 git commands to generate.