X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=wrapper%2Fuprobes.h;h=d511850939a6212c9dfb28f8816bb14871aee9ab;hb=7c6d929d62a6e24fb1dbeaee5cd2c8afe77720b7;hp=e38a541545cb79daebdec2db2e998c585076764a;hpb=149b9a9d86d7351ee9a44ce391884cc12e922124;p=lttng-modules.git diff --git a/wrapper/uprobes.h b/wrapper/uprobes.h index e38a5415..d5118509 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-only or LGPL-2.1-only) + * * 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))