X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=include%2Flttng%2Frotate-internal.h;h=00a348ff793673842145c9d0c02c49cd271e698f;hp=265148376fa744e493edcd0bd1a57c235957a089;hb=259c267446a63c501298f39a5d2397314b11f729;hpb=f5eeb9d734eb6727a2ee04f08e3eedf9827ed66f diff --git a/include/lttng/rotate-internal.h b/include/lttng/rotate-internal.h index 265148376..00a348ff7 100644 --- a/include/lttng/rotate-internal.h +++ b/include/lttng/rotate-internal.h @@ -38,6 +38,18 @@ struct lttng_rotation_immediate_attr { uint64_t rotate_id; }; +/* + * Object used as input parameter to the lttng_rotate_schedule API for + * automatic rotations. + * This is opaque to the public library. + */ +struct lttng_rotation_schedule_attr { + /* Session name to rotate. */ + char session_name[LTTNG_NAME_MAX]; + /* > 0 if a timer is set. */ + uint64_t timer_us; +} LTTNG_PACKED; + /* * Object returned by the rotate session API. * This is opaque to the public library.