Size-based rotation
[lttng-tools.git] / include / lttng / rotate-internal.h
index 29ea8c8359f7e6513b81a7583927f001bcac8efa..f5e4dc950b4875ef5e239e2ec497042d34643c59 100644 (file)
@@ -48,6 +48,8 @@ struct lttng_rotation_schedule_attr {
        char session_name[LTTNG_NAME_MAX];
        /* > 0 if a timer is set. */
        uint64_t timer_us;
+       /* > 0 if the session should rotate when it has written that many bytes. */
+       uint64_t size;
 } LTTNG_PACKED;
 
 /*
This page took 0.022881 seconds and 4 git commands to generate.