On-disk multiple tracefiles circular buffer
[lttng-tools.git] / src / bin / lttng-sessiond / trace-ust.c
index 8f15a1576a68375277609e0ffd50642d0fd4eb3c..cd8ff1053caa7c6163fe7686288d071e5dedafc0 100644 (file)
@@ -293,6 +293,10 @@ struct ltt_ust_channel *trace_ust_create_channel(struct lttng_channel *chan,
        luc->events = lttng_ht_new(0, LTTNG_HT_TYPE_STRING);
        luc->ctx = lttng_ht_new(0, LTTNG_HT_TYPE_ULONG);
 
+       /* On-disk circular buffer parameters */
+       luc->tracefile_size = chan->attr.tracefile_size;
+       luc->tracefile_count = chan->attr.tracefile_count;
+
        DBG2("Trace UST channel %s created", luc->name);
 
 error:
This page took 0.024364 seconds and 5 git commands to generate.