From 8d7f6956990e8d0e0f32a532321db44263c6903f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 25 Feb 2016 16:28:16 -0500 Subject: [PATCH] Add internal extended channel structure MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- include/lttng/channel-internal.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 include/lttng/channel-internal.h diff --git a/include/lttng/channel-internal.h b/include/lttng/channel-internal.h new file mode 100644 index 000000000..54e75c066 --- /dev/null +++ b/include/lttng/channel-internal.h @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2015 - 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. + * + * 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_CHANNEL_INTERNAL_H +#define LTTNG_CHANNEL_INTERNAL_H + +struct lttng_channel_extended { + uint64_t discarded_events; + uint64_t lost_packets; +} LTTNG_PACKED; + +#endif /* LTTNG_CHANNEL_INTERNAL_H */ -- 2.34.1