struct lttng_rotation_get_info_return {
/* Represents values defined in enum lttng_rotation_state. */
int32_t status;
- /* Represents values defined in enum lttng_rotation_state. */
+ /*
+ * Represents values defined in enum lttng_trace_archive_location_type.
+ */
int8_t location_type;
union {
struct {
struct {
uint8_t set;
uint64_t value;
- } periodic;
+ } LTTNG_PACKED periodic;
struct {
uint8_t set;
uint64_t value;
- } size;
+ } LTTNG_PACKED size;
} LTTNG_PACKED;
#endif /* LTTNG_ROTATE_INTERNAL_ABI_H */