+struct session_state_sample {
+ uint64_t consumed_data_size;
+ struct {
+ /* Whether a rotation is ongoing for this session. */
+ bool ongoing;
+ /* Identifier of the currently ongoing rotation. */
+ uint64_t id;
+ /* Location of last completed rotation. */
+ struct lttng_trace_archive_location *location;
+ } rotation;
+};
+