X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-kvm.c;h=05988e556c9cb4caf6833a49544e00cd0351f06a;hb=16a9a591f233adc076cc59462f37bd697d952604;hp=b70b058bdecf9f123b801bd5f772738104c4e01f;hpb=6db3d13b849ff90922bd55fdaf047d746d79ba4a;p=lttng-modules.git diff --git a/probes/lttng-probe-kvm.c b/probes/lttng-probe-kvm.c index b70b058b..05988e55 100644 --- a/probes/lttng-probe-kvm.c +++ b/probes/lttng-probe-kvm.c @@ -7,16 +7,22 @@ */ #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 ");