X-Git-Url: https://git.liburcu.org/?p=lttng-modules.git;a=blobdiff_plain;f=wrapper%2Fftrace.h;h=eb4f788a50959249f979bf86da5cb643660c6c1e;hp=de618734e44ee4cf4e6f587291dad59f37825a07;hb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;hpb=6c27a5ccba05b088fbfcf8cd982c25649838298d diff --git a/wrapper/ftrace.h b/wrapper/ftrace.h index de618734..eb4f788a 100644 --- a/wrapper/ftrace.h +++ b/wrapper/ftrace.h @@ -1,7 +1,5 @@ -#ifndef _LTTNG_WRAPPER_FTRACE_H -#define _LTTNG_WRAPPER_FTRACE_H - -/* +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) + * * wrapper/ftrace.h * * wrapper around vmalloc_sync_all. Using KALLSYMS to get its address when @@ -9,22 +7,11 @@ * modules. * * Copyright (C) 2011-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 */ +#ifndef _LTTNG_WRAPPER_FTRACE_H +#define _LTTNG_WRAPPER_FTRACE_H + #include #include #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,12,0))