X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Flttng%2Fnotification%2Fchannel-internal.h;h=f7df8e5206999154a8afb3ebf480523a4a75497d;hb=fa3f8be960428e090b9576e3c67f0db33ed369d5;hp=0779d73371bbd9158768bcaebfc0f664e0c1a4cc;hpb=4149ace8fa7c7a8da39272f03923df46039c5ff6;p=lttng-tools.git diff --git a/include/lttng/notification/channel-internal.h b/include/lttng/notification/channel-internal.h index 0779d7337..f7df8e520 100644 --- a/include/lttng/notification/channel-internal.h +++ b/include/lttng/notification/channel-internal.h @@ -1,18 +1,8 @@ /* - * Copyright (C) 2017 - Jérémie Galarneau + * Copyright (C) 2017 Jérémie Galarneau * - * This library is free software; you can redistribute it and/or modify it - * under the terms of the GNU Lesser General Public License, version 2.1 only, - * as published by the Free Software Foundation. + * SPDX-License-Identifier: LGPL-2.1-only * - * This library is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License - * for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this library; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef LTTNG_NOTIFICATION_CHANNEL_INTERNAL_H @@ -26,8 +16,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,7 +64,7 @@ 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