Pull trace event headers into lttng modules tree
[lttng-modules.git] / probes / lttng-probe-kvm.c
index b70b058bdecf9f123b801bd5f772738104c4e01f..05988e556c9cb4caf6833a49544e00cd0351f06a 100644 (file)
@@ -7,16 +7,22 @@
  */
 
 #include <linux/module.h>
+#include <linux/kvm_host.h>
+
+/*
+ * Create the tracepoint static inlines from the kernel to validate that our
+ * trace event macros match the kernel we run on.
+ */
+#include <trace/events/kvm.h>
 
 /*
  * 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 <linux/kvm_host.h>
-#include <trace/events/kvm.h>
+#include "../instrumentation/events/lttng-module/kvm.h"
 
 MODULE_LICENSE("GPL and additional rights");
 MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
This page took 0.024188 seconds and 4 git commands to generate.