Fix: previous channel total is not updated
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 21 Dec 2017 16:06:11 +0000 (11:06 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 3 Apr 2018 16:12:28 +0000 (12:12 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/notification-thread-events.c

index 87939f0660e4ed88164b34a2e711ecd25bb6e97c..df801be59d77f1b50561cae48705177277f133cb 100644 (file)
@@ -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 {
                /*
This page took 0.025753 seconds and 4 git commands to generate.