2 * lttng-ring-buffer-client-discard-rt.c
4 * LTTng lib ring buffer client (discard mode) for RT.
6 * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; only
11 * version 2.1 of the License.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library; if not, write to the Free Software
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 #include "lttng-tracer.h"
27 #define RING_BUFFER_MODE_TEMPLATE RING_BUFFER_DISCARD
28 #define RING_BUFFER_MODE_TEMPLATE_STRING "discard-rt"
29 #define RING_BUFFER_MODE_TEMPLATE_INIT \
30 lttng_ring_buffer_client_discard_rt_init
31 #define RING_BUFFER_MODE_TEMPLATE_EXIT \
32 lttng_ring_buffer_client_discard_rt_exit
33 #define LTTNG_CLIENT_TYPE LTTNG_CLIENT_DISCARD_RT
34 #define LTTNG_CLIENT_CALLBACKS lttng_client_callbacks_discard_rt
35 #define LTTNG_CLIENT_WAKEUP RING_BUFFER_WAKEUP_BY_TIMER
36 #include "lttng-ring-buffer-client.h"
This page took 0.029827 seconds and 4 git commands to generate.