Move the ringbuffer and counter clients to 'src/common/'
[lttng-ust.git] / src / common / ringbuffer-clients / metadata.c
diff --git a/src/common/ringbuffer-clients/metadata.c b/src/common/ringbuffer-clients/metadata.c
new file mode 100644 (file)
index 0000000..24bf103
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+ * SPDX-License-Identifier: LGPL-2.1-only
+ *
+ * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
+ * LTTng lib ring buffer metadta client.
+ */
+
+#define _LGPL_SOURCE
+#include "common/tracer.h"
+
+#define RING_BUFFER_MODE_TEMPLATE              RING_BUFFER_DISCARD
+#define RING_BUFFER_MODE_TEMPLATE_STRING       "metadata"
+#define RING_BUFFER_MODE_TEMPLATE_INIT \
+       lttng_ring_buffer_metadata_client_init
+#define RING_BUFFER_MODE_TEMPLATE_EXIT \
+       lttng_ring_buffer_metadata_client_exit
+#define LTTNG_CLIENT_TYPE                      LTTNG_CLIENT_METADATA
+#include "common/ringbuffer-clients/metadata-template.h"
This page took 0.023433 seconds and 4 git commands to generate.