* This is opaque to the public library.
*/
struct lttng_rotation_immediate_attr {
- /* Session name to rotate. */
- char session_name[LTTNG_NAME_MAX];
/* For the rotate pending request. */
uint64_t rotate_id;
};
* 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;
/* > 0 if the session should rotate when it has written that many bytes. */
/* Represents values defined in enum lttng_rotation_state. */
int32_t status;
/* Represents values defined in enum lttng_rotation_state. */
- uint8_t location_type;
+ int8_t location_type;
union {
struct {
char absolute_path[LTTNG_PATH_MAX];
* Represents values defined in
* enum lttng_trace_archive_location_relay_protocol_type.
*/
- uint8_t protocol;
+ int8_t protocol;
struct {
uint16_t control;
uint16_t data;