rotate timer working
[deliverable/lttng-tools.git] / include / lttng / rotate-internal.h
index 951f09adf997177f04882e89e0cc2c14a2533388..5227c47a5c5455191aeb9b981aa4acde3f8aa232 100644 (file)
  * This is opaque to the public library.
  */
 struct lttng_rotate_session_attr {
-       /*
-        * Session name to rotate.
-        */
+       /* Session name to rotate. */
        char session_name[LTTNG_NAME_MAX];
+       /* For the rotate pending request. */
+       uint64_t rotate_id;
+       /* > 0 if a timer is set. */
+       uint64_t timer_us;
        /*
-        * For the rotate pending request.
+        * > 0 if the session should rotate when it has written that many
+        * bytes.
         */
-       uint64_t rotate_id;
+       uint64_t size;
 } LTTNG_PACKED;
 
 /*
This page took 0.023864 seconds and 5 git commands to generate.