rotation_status = lttng_rotation_handle_get_state(handle,
&rotation_state);
if (rotation_status != LTTNG_ROTATION_STATUS_OK) {
rotation_status = lttng_rotation_handle_get_state(handle,
&rotation_state);
if (rotation_status != LTTNG_ROTATION_STATUS_OK) {