X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-probe-kvm-x86.c;h=f081cdd5e4fe31afa0c1c9212f44cf61885df9f7;hb=HEAD;hp=9b2054d806e088487caccb7ec6449a4f51c10675;hpb=1de8b2e4c021031e72f0f91c1ac984eb8965079e;p=lttng-modules.git diff --git a/probes/lttng-probe-kvm-x86.c b/probes/lttng-probe-kvm-x86.c deleted file mode 100644 index 9b2054d8..00000000 --- a/probes/lttng-probe-kvm-x86.c +++ /dev/null @@ -1,57 +0,0 @@ -/* - * 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" - -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) -#include -#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) */ -#include <../../virt/kvm/iodev.h> -#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) */ - -/* - * Create the tracepoint static inlines from the kernel to validate that our - * trace event macros match the kernel we run on. - */ -#include - -#include "../wrapper/tracepoint.h" - -/* - * Create LTTng tracepoint probes. - */ -#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" - -MODULE_LICENSE("GPL and additional rights"); -MODULE_AUTHOR("Mathieu Desnoyers "); -MODULE_DESCRIPTION("LTTng kvm probes"); -MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "." - __stringify(LTTNG_MODULES_MINOR_VERSION) "." - __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION) - LTTNG_MODULES_EXTRAVERSION);