Add default ust channel attributes
[lttng-tools.git] / lttng / commands / enable_channels.c
index 13511cc869803097edff9bc2542a35218b38e870..c5887d07bf17ac10688e3dbb3b74bc6d57564ddc 100644 (file)
@@ -177,8 +177,8 @@ static void init_channel_config(void)
                chan.attr.switch_timer_interval = DEFAULT_CHANNEL_SWITCH_TIMER;
                chan.attr.read_timer_interval = DEFAULT_CHANNEL_READ_TIMER;
 
-               chan.attr.subbuf_size = DEFAULT_CHANNEL_SUBBUF_SIZE;
-               chan.attr.num_subbuf = DEFAULT_CHANNEL_SUBBUF_NUM;
+               chan.attr.subbuf_size = DEFAULT_UST_CHANNEL_SUBBUF_SIZE;
+               chan.attr.num_subbuf = DEFAULT_UST_CHANNEL_SUBBUF_NUM;
                chan.attr.output = DEFAULT_CHANNEL_OUTPUT;
        }
 }
This page took 0.031193 seconds and 4 git commands to generate.