Implement consumer ring buffer position sampling
[lttng-tools.git] / src / bin / lttng-sessiond / trace-ust.c
index 1c325fb259b24ca497618dbe1ba309052be8266b..55ca4fb3c9bfe5fc6b142cc9a5aa51dda4e117c3 100644 (file)
@@ -356,6 +356,8 @@ struct ltt_ust_channel *trace_ust_create_channel(struct lttng_channel *chan,
        luc->attr.switch_timer_interval = chan->attr.switch_timer_interval;
        luc->attr.read_timer_interval = chan->attr.read_timer_interval;
        luc->attr.output = (enum lttng_ust_output) chan->attr.output;
        luc->attr.switch_timer_interval = chan->attr.switch_timer_interval;
        luc->attr.read_timer_interval = chan->attr.read_timer_interval;
        luc->attr.output = (enum lttng_ust_output) chan->attr.output;
+       luc->monitor_timer_interval =
+                       ((struct lttng_channel_extended *) chan->attr.extended.ptr)->monitor_timer_interval;
 
        /* Translate to UST output enum */
        switch (luc->attr.output) {
 
        /* Translate to UST output enum */
        switch (luc->attr.output) {
This page took 0.031004 seconds and 4 git commands to generate.