X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-kvm.c;h=9efc6dd168802a9f8b6e91364af009935e12dbd3;hb=17baffe29814f2508556e498ab8c41a192e76b67;hp=b70b058bdecf9f123b801bd5f772738104c4e01f;hpb=6db3d13b849ff90922bd55fdaf047d746d79ba4a;p=lttng-modules.git diff --git a/probes/lttng-probe-kvm.c b/probes/lttng-probe-kvm.c index b70b058b..9efc6dd1 100644 --- a/probes/lttng-probe-kvm.c +++ b/probes/lttng-probe-kvm.c @@ -4,19 +4,27 @@ * Copyright 2010 (c) - Mathieu Desnoyers * * LTTng kvm probes. + * + * Dual LGPL v2.1/GPL v2 license. */ #include +#include + +/* + * Create the tracepoint static inlines from the kernel to validate that our + * trace event macros match the kernel we run on. + */ +#include /* * Create LTTng tracepoint probes. */ #define LTTNG_PACKAGE_BUILD #define CREATE_TRACE_POINTS -#undef CONFIG_EVENT_TRACING /* Don't create Ftrace probes */ +#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module -#include -#include +#include "../instrumentation/events/lttng-module/kvm.h" MODULE_LICENSE("GPL and additional rights"); MODULE_AUTHOR("Mathieu Desnoyers ");