X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Frotation.h;h=00d68d7e5c5015a71982f1fe3d5690eca205f135;hp=186cbd6f6464f7bd761e8d593a2b390083f711db;hb=90936dcf0968343f20b2f6fd365b9c015cdb9717;hpb=1d757b1cd3b4669b52e2d9ceafb03eafd42490ff diff --git a/include/lttng/rotation.h b/include/lttng/rotation.h index 186cbd6f6..00d68d7e5 100644 --- a/include/lttng/rotation.h +++ b/include/lttng/rotation.h @@ -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. */