X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Fltt-ring-buffer-metadata-client.c;h=cc72a7feac081c4e7ced5f0e8b48cf753cf2e3da;hb=9501d22f55b3a23f382f631c99b2325d1419b5da;hp=e1747c4317239e1249228c6f168c78f48efaa210;hpb=69400ac4a4e6575f749c6326df7c2a2c8ac3bdc5;p=lttng-ust.git diff --git a/liblttng-ust/ltt-ring-buffer-metadata-client.c b/liblttng-ust/ltt-ring-buffer-metadata-client.c index e1747c43..cc72a7fe 100644 --- a/liblttng-ust/ltt-ring-buffer-metadata-client.c +++ b/liblttng-ust/ltt-ring-buffer-metadata-client.c @@ -1,13 +1,26 @@ /* * ltt-ring-buffer-metadata-client.c * - * Copyright (C) 2010 - Mathieu Desnoyers - * * LTTng lib ring buffer metadta client. * - * 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_metadata_client_init #define RING_BUFFER_MODE_TEMPLATE_EXIT \ ltt_ring_buffer_metadata_client_exit +#define LTTNG_CLIENT_TYPE LTTNG_CLIENT_METADATA +#define LTTNG_CLIENT_CALLBACKS lttng_client_callbacks_metadata #include "ltt-ring-buffer-metadata-client.h"