X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Frotate-internal.h;h=f5e4dc950b4875ef5e239e2ec497042d34643c59;hp=29ea8c8359f7e6513b81a7583927f001bcac8efa;hb=90936dcf0968343f20b2f6fd365b9c015cdb9717;hpb=1d757b1cd3b4669b52e2d9ceafb03eafd42490ff diff --git a/include/lttng/rotate-internal.h b/include/lttng/rotate-internal.h index 29ea8c835..f5e4dc950 100644 --- a/include/lttng/rotate-internal.h +++ b/include/lttng/rotate-internal.h @@ -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; /*