handle empty sessions
[deliverable/lttng-tools.git] / include / lttng / rotate.h
index 65afcaac7db54ec609ccc405ae72ddb4e2933661..c340fb1c7c42d19f0729e32e443582a8cb83a699 100644 (file)
@@ -39,10 +39,15 @@ enum lttng_rotate_status {
         * retrieve the path for the chunk.
         */
        LTTNG_ROTATE_EXPIRED = 2,
+       /*
+        * Nothing to rotate, it happens on the first rotation when tracing
+        * only in user-space and no app was started.
+        */
+       LTTNG_ROTATE_EMPTY = 3,
        /*
         * On error.
         */
-       LTTNG_ROTATE_ERROR = 3,
+       LTTNG_ROTATE_ERROR = 4,
 };
 
 /*
This page took 0.025062 seconds and 5 git commands to generate.