From: Jérémie Galarneau Date: Thu, 21 Dec 2017 16:06:11 +0000 (-0500) Subject: Fix: previous channel total is not updated X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=0f0479d77e6e55766f9c1ec5765a4479e7b40b79;hp=e0b5f87b7e697508c09e8db401f40f7de296b97a Fix: previous channel total is not updated Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/notification-thread-events.c b/src/bin/lttng-sessiond/notification-thread-events.c index 87939f066..df801be59 100644 --- a/src/bin/lttng-sessiond/notification-thread-events.c +++ b/src/bin/lttng-sessiond/notification-thread-events.c @@ -2444,6 +2444,7 @@ int handle_notification_thread_channel_sample( sizeof(previous_sample)); stored_sample->highest_usage = latest_sample.highest_usage; stored_sample->lowest_usage = latest_sample.lowest_usage; + stored_sample->channel_total_consumed = latest_sample.channel_total_consumed; previous_sample_available = true; } else { /*