From: Michael Jeanson Date: Thu, 8 Nov 2018 23:37:45 +0000 (-0500) Subject: Add missing SPDX license identifiers to uprobes X-Git-Tag: v2.11.0-rc3~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=99fc3bbd1ee7870264434650b2e09d19b1de2dbe;p=lttng-modules.git Add missing SPDX license identifiers to uprobes Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/probes/lttng-uprobes.c b/probes/lttng-uprobes.c index bcdbbd84..64d8237c 100644 --- a/probes/lttng-uprobes.c +++ b/probes/lttng-uprobes.c @@ -1,4 +1,5 @@ -/* +/* SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1) + * * probes/lttng-uprobes.c * * LTTng uprobes integration module. @@ -6,19 +7,6 @@ * Copyright (C) 2013 Yannick Brosseau * Copyright (C) 2009-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 */ #include diff --git a/wrapper/uprobes.h b/wrapper/uprobes.h index e38a5415..6ea9df18 100644 --- a/wrapper/uprobes.h +++ b/wrapper/uprobes.h @@ -1,7 +1,5 @@ -#ifndef _LTTNG_WRAPPER_UPROBES_H -#define _LTTNG_WRAPPER_UPROBES_H - -/* +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) + * * wrapper/uprobes.h * * wrapper around uprobes. Using KALLSYMS to get its address when @@ -11,21 +9,11 @@ * Copyright (C) 2013 Yannick Brosseau * Copyright (C) 2017 Francis Deslauriers * - * 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 */ +#ifndef _LTTNG_WRAPPER_UPROBES_H +#define _LTTNG_WRAPPER_UPROBES_H + #include #if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0))