Size-based rotation
[lttng-tools.git] / include / lttng / rotation.h
index 186cbd6f6464f7bd761e8d593a2b390083f711db..00d68d7e5c5015a71982f1fe3d5690eca205f135 100644 (file)
@@ -134,6 +134,12 @@ extern enum lttng_rotation_status lttng_rotation_schedule_attr_set_session_name(
 extern enum lttng_rotation_status lttng_rotation_schedule_attr_set_timer_period(
                struct lttng_rotation_schedule_attr *attr, uint64_t timer);
 
+/*
+ * Set the size to rotate the session (bytes, -1ULL to disable).
+ */
+void lttng_rotation_schedule_attr_set_size(
+               struct lttng_rotation_schedule_attr *attr, uint64_t size);
+
 /*
  * lttng rotate session handle functions.
  */
This page took 0.024675 seconds and 5 git commands to generate.