X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=include%2Flttng%2Frotate-internal.h;h=8d0823b7a8e42f05e5731fbc9dc58c54e344ce8a;hb=dbd512ea8aa5349849aeeccda6130aa9e28cf23c;hp=74c85b0b648c5093eda2336552b52979e8d012d0;hpb=dd73d57bb95fae31161ca0781108d166082a06f5;p=lttng-tools.git diff --git a/include/lttng/rotate-internal.h b/include/lttng/rotate-internal.h index 74c85b0b6..8d0823b7a 100644 --- a/include/lttng/rotate-internal.h +++ b/include/lttng/rotate-internal.h @@ -32,8 +32,6 @@ * 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; }; @@ -44,8 +42,6 @@ struct lttng_rotation_immediate_attr { * 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. */ @@ -87,7 +83,7 @@ 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. */ - uint8_t location_type; + int8_t location_type; union { struct { char absolute_path[LTTNG_PATH_MAX]; @@ -98,7 +94,7 @@ struct lttng_rotation_get_info_return { * 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;