X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-kvm-x86.c;h=f081cdd5e4fe31afa0c1c9212f44cf61885df9f7;hb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;hp=9b2054d806e088487caccb7ec6449a4f51c10675;hpb=1de8b2e4c021031e72f0f91c1ac984eb8965079e;p=lttng-modules.git diff --git a/probes/lttng-probe-kvm-x86.c b/probes/lttng-probe-kvm-x86.c index 9b2054d8..f081cdd5 100644 --- a/probes/lttng-probe-kvm-x86.c +++ b/probes/lttng-probe-kvm-x86.c @@ -1,29 +1,16 @@ -/* +/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) + * * probes/lttng-probe-kvm.c * * LTTng kvm probes. * * 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 */ #include #include -#include "../lttng-tracer.h" -#include "../lttng-kernel-version.h" +#include +#include #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) #include @@ -37,7 +24,7 @@ */ #include -#include "../wrapper/tracepoint.h" +#include /* * Create LTTng tracepoint probes. @@ -45,8 +32,8 @@ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS -#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module/arch/x86/kvm -#include "../instrumentation/events/lttng-module/arch/x86/kvm/trace.h" +#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module/arch/x86/kvm +#include MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers ");