X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Flttng%2Fnotification%2Fchannel-internal.h;h=7343b03bba840fa3a66d984d1e6c24b99f4029c3;hb=f83bcd90ceb5ce659ffe9d7747d6f3366a09748a;hp=efe502fe4f284a4830426ebe5250e71c217882ea;hpb=a58c490f0bff52a73717d31d04d1472629180de2;p=lttng-tools.git diff --git a/include/lttng/notification/channel-internal.h b/include/lttng/notification/channel-internal.h index efe502fe4..7343b03bb 100644 --- a/include/lttng/notification/channel-internal.h +++ b/include/lttng/notification/channel-internal.h @@ -26,8 +26,18 @@ #include #include +/* + * Protocol version change log: + * - v1.0 + * - Initial implementation of the notification channel protocol, + * - Supported conditions are LOW/HIGH buffer usage conditions, + * - v1.1 + * - New condition type "LTTNG_CONDITION_TYPE_SESSION_CONSUMED_SIZE" added, + * - New condition type "LTTNG_CONDITION_TYPE_SESSION_ROTATION_ONGOING" added, + * - New condition type "LTTNG_CONDITION_TYPE_SESSION_ROTATION_COMPLETED" added, + */ #define LTTNG_NOTIFICATION_CHANNEL_VERSION_MAJOR 1 -#define LTTNG_NOTIFICATION_CHANNEL_VERSION_MINOR 0 +#define LTTNG_NOTIFICATION_CHANNEL_VERSION_MINOR 1 enum lttng_notification_channel_message_type { LTTNG_NOTIFICATION_CHANNEL_MESSAGE_TYPE_UNKNOWN = -1, @@ -64,13 +74,13 @@ struct pending_notification { }; /* - * The notification channel protocol is bidirectional and accomodates + * The notification channel protocol is bidirectional and accommodates * synchronous and asynchronous communication modes: * * - Synchronous: commands emitted by the client to which a reply is expected * (e.g. subscribing/unsubscribing to conditions), * - Asynchronous: notifications which are sent by the lttng_endpoint to the - * client as one of the subscribed condition has occured. + * client as one of the subscribed condition has occurred. * * The nature of this hybrid communication mode means that asynchronous messages * (e.g. notifications) may be interleaved between synchronous messages (e.g. a