Update comments regarding the power of 2 constraint on sub-buffer sizes
[lttng-tools.git] / include / lttng / channel.h
index 6ab0c7b62a5a0a5bd4ad867b91ce0996f42ef27b..bb5bbcd382f47723eae934e94da69fc9eb11375e 100644 (file)
@@ -33,7 +33,7 @@ extern "C" {
 #define LTTNG_CHANNEL_ATTR_PADDING1        LTTNG_SYMBOL_NAME_LEN + 12
 struct lttng_channel_attr {
        int overwrite;                      /* 1: overwrite, 0: discard */
-       uint64_t subbuf_size;               /* bytes */
+       uint64_t subbuf_size;               /* bytes, power of 2 */
        uint64_t num_subbuf;                /* power of 2 */
        unsigned int switch_timer_interval; /* usec */
        unsigned int read_timer_interval;   /* usec */
This page took 0.022422 seconds and 4 git commands to generate.