From: Jérémie Galarneau Date: Thu, 25 Feb 2016 21:28:16 +0000 (-0500) Subject: Add internal extended channel structure X-Git-Tag: v2.8.0-rc1~147 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=8d7f6956990e8d0e0f32a532321db44263c6903f;hp=0793bcc637de51773fe97351b0de21e846180f59 Add internal extended channel structure Signed-off-by: Jérémie Galarneau --- 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 */