X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Fltt-ring-buffer-client-discard.c;h=416984d4f586ab26af7a10e736a7d89711cacf26;hb=29865d1ccafc065d07e0de67b196790ed36ab396;hp=e89026c75d79201c2719467a18179820c6e238ae;hpb=69400ac4a4e6575f749c6326df7c2a2c8ac3bdc5;p=lttng-ust.git diff --git a/liblttng-ust/ltt-ring-buffer-client-discard.c b/liblttng-ust/ltt-ring-buffer-client-discard.c index e89026c7..416984d4 100644 --- a/liblttng-ust/ltt-ring-buffer-client-discard.c +++ b/liblttng-ust/ltt-ring-buffer-client-discard.c @@ -1,13 +1,26 @@ /* * ltt-ring-buffer-client-discard.c * - * Copyright (C) 2010 - Mathieu Desnoyers - * * LTTng lib ring buffer client (discard mode). * - * Dual LGPL v2.1/GPL v2 license. + * Copyright (C) 2010-2012 Mathieu Desnoyers + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; only + * version 2.1 of the License. + * + * 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 */ +#define _GNU_SOURCE #include "ltt-tracer.h" #define RING_BUFFER_MODE_TEMPLATE RING_BUFFER_DISCARD @@ -16,4 +29,6 @@ ltt_ring_buffer_client_discard_init #define RING_BUFFER_MODE_TEMPLATE_EXIT \ ltt_ring_buffer_client_discard_exit +#define LTTNG_CLIENT_TYPE LTTNG_CLIENT_DISCARD +#define LTTNG_CLIENT_CALLBACKS lttng_client_callbacks_discard #include "ltt-ring-buffer-client.h"