X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust%2Flttng-ring-buffer-metadata-client.c;h=248b8dba5e8efa2c7900d3f206b28fc8551d1f2d;hb=74d65852d2dcb025a00fa5abcb56f6b7521395a4;hp=126c04883035c80b34b980db1ecbae16430c7f62;hpb=7dd08bec735b428479201f9f84d59c78deabdf57;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ring-buffer-metadata-client.c b/liblttng-ust/lttng-ring-buffer-metadata-client.c index 126c0488..248b8dba 100644 --- a/liblttng-ust/lttng-ring-buffer-metadata-client.c +++ b/liblttng-ust/lttng-ring-buffer-metadata-client.c @@ -1,26 +1,12 @@ /* - * lttng-ring-buffer-metadata-client.c - * - * LTTng lib ring buffer metadta client. + * SPDX-License-Identifier: LGPL-2.1-only * * 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 + * LTTng lib ring buffer metadta client. */ -#define _GNU_SOURCE +#define _LGPL_SOURCE #include "lttng-tracer.h" #define RING_BUFFER_MODE_TEMPLATE RING_BUFFER_DISCARD @@ -30,5 +16,4 @@ #define RING_BUFFER_MODE_TEMPLATE_EXIT \ lttng_ring_buffer_metadata_client_exit #define LTTNG_CLIENT_TYPE LTTNG_CLIENT_METADATA -#define LTTNG_CLIENT_CALLBACKS lttng_client_callbacks_metadata -#include "lttng-ring-buffer-metadata-client.h" +#include "lttng-ring-buffer-metadata-client-template.h"