X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-x86-exceptions.c;h=b7ded80277111ffb0d8d8c931cc4b0285b6ed89d;hb=2df37e95fa4303ecc0db41334452665491533641;hp=a8c9bf32178725803699ba3364ac496b64f3620b;hpb=da0f6c58f715087f5091551070bf4350bf2768bf;p=lttng-modules.git diff --git a/probes/lttng-probe-x86-exceptions.c b/probes/lttng-probe-x86-exceptions.c index a8c9bf32..b7ded802 100644 --- a/probes/lttng-probe-x86-exceptions.c +++ b/probes/lttng-probe-x86-exceptions.c @@ -1,27 +1,14 @@ -/* +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) + * * probes/lttng-probe-x86-exceptions.c * * LTTng x86 exceptions probes. * * Copyright (C) 2010-2015 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 -#include "../lttng-tracer.h" +#include /* * Create the tracepoint static inlines from the kernel to validate that our @@ -29,7 +16,7 @@ */ #include -#include "../wrapper/tracepoint.h" +#include #undef TRACE_INCLUDE_PATH #undef TRACE_INCLUDE_FILE @@ -39,9 +26,9 @@ */ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS -#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module/arch/x86 +#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module/arch/x86 -#include "../instrumentation/events/lttng-module/arch/x86/exceptions.h" +#include MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers ");