X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-ring-buffer-client-discard-rt.c;h=c895e185002ab8d6450101d7f09da3fe52261761;hb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;hp=301328f9ae9a57e3d726e6aa5c8a55defd64920f;hpb=34a91bdb42a2a3b01b687ab5e1ba7638401e6dfc;p=lttng-ust.git diff --git a/liblttng-ust/lttng-ring-buffer-client-discard-rt.c b/liblttng-ust/lttng-ring-buffer-client-discard-rt.c index 301328f9..c895e185 100644 --- a/liblttng-ust/lttng-ring-buffer-client-discard-rt.c +++ b/liblttng-ust/lttng-ring-buffer-client-discard-rt.c @@ -1,26 +1,12 @@ /* - * lttng-ring-buffer-client-discard-rt.c - * - * LTTng lib ring buffer client (discard mode) for RT. + * 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 client (discard mode) for RT. */ -#define _GNU_SOURCE +#define _LGPL_SOURCE #include "lttng-tracer.h" #define RING_BUFFER_MODE_TEMPLATE RING_BUFFER_DISCARD