Add internal extended channel structure
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 25 Feb 2016 21:28:16 +0000 (16:28 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 25 Feb 2016 21:30:30 +0000 (16:30 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/channel-internal.h [new file with mode: 0644]

diff --git a/include/lttng/channel-internal.h b/include/lttng/channel-internal.h
new file mode 100644 (file)
index 0000000..54e75c0
--- /dev/null
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2015 - Jérémie Galarneau <jeremie.galarneau@efficios.com>
+ *
+ * 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 */
This page took 0.033472 seconds and 4 git commands to generate.