projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: sessiond: size-based rotation threshold exceeded in per-pid tracing (2/2)
[lttng-tools.git]
/
src
/
common
/
consumer
/
consumer.cpp
diff --git
a/src/common/consumer/consumer.cpp
b/src/common/consumer/consumer.cpp
index 8326a8e391d64d7506fcab19a981558955fcfd0b..3272c129fe353c2ad6b75f3f359391ce55ced9bf 100644
(file)
--- a/
src/common/consumer/consumer.cpp
+++ b/
src/common/consumer/consumer.cpp
@@
-383,6
+383,12
@@
void consumer_del_channel(struct lttng_consumer_channel *channel)
consumer_timer_monitor_stop(channel);
}
consumer_timer_monitor_stop(channel);
}
+ /*
+ * Send a last buffer statistics sample to the session daemon
+ * to ensure it tracks the amount of data consumed by this channel.
+ */
+ sample_and_send_channel_buffer_stats(channel);
+
switch (the_consumer_data.type) {
case LTTNG_CONSUMER_KERNEL:
break;
switch (the_consumer_data.type) {
case LTTNG_CONSUMER_KERNEL:
break;
This page took
0.023839 seconds
and
4
git commands to generate.