2 * SPDX-License-Identifier: LGPL-2.1-only
4 * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
6 * LTTng lib ring buffer client (discard mode).
10 #include "common/tracer.h"
11 #include "common/ringbuffer-clients/clients.h"
13 #define RING_BUFFER_MODE_TEMPLATE RING_BUFFER_DISCARD
14 #define RING_BUFFER_MODE_TEMPLATE_STRING "discard"
15 #define RING_BUFFER_MODE_TEMPLATE_ALLOC_TLS \
16 lttng_ust_ring_buffer_client_discard_alloc_tls
17 #define RING_BUFFER_MODE_TEMPLATE_INIT \
18 lttng_ring_buffer_client_discard_init
19 #define RING_BUFFER_MODE_TEMPLATE_EXIT \
20 lttng_ring_buffer_client_discard_exit
21 #define LTTNG_CLIENT_TYPE LTTNG_CLIENT_DISCARD
22 #define LTTNG_CLIENT_WAKEUP RING_BUFFER_WAKEUP_BY_WRITER
23 #include "common/ringbuffer-clients/template.h"
This page took 0.029266 seconds and 4 git commands to generate.