X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=probes%2Flttng-probe-kvm.c;h=05988e556c9cb4caf6833a49544e00cd0351f06a;hb=f62b389ebaba6abc93afb2cf9fbdf2fe0b632077;hp=b70b058bdecf9f123b801bd5f772738104c4e01f;hpb=90225db5dd17d46fdb281a625ef98780329b0677;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 ");