Fix: handle missing ftrace header on v4.12
[lttng-modules.git] / probes / lttng-probe-workqueue.c
index f643476faab59855dc84890eda7ec9a0f7b485c0..9d3192e34b372de234586acb593e746e4675bb33 100644 (file)
@@ -23,6 +23,7 @@
 
 #include <linux/module.h>
 #include <linux/idr.h>
+#include <lttng-tracer.h>
 
 struct cpu_workqueue_struct;
 struct pool_workqueue;
@@ -33,17 +34,21 @@ struct pool_workqueue;
  */
 #include <trace/events/workqueue.h>
 
-#include "../wrapper/tracepoint.h"
+#include <wrapper/tracepoint.h>
 
 /*
  * Create LTTng tracepoint probes.
  */
 #define LTTNG_PACKAGE_BUILD
 #define CREATE_TRACE_POINTS
-#define TRACE_INCLUDE_PATH ../instrumentation/events/lttng-module
+#define TRACE_INCLUDE_PATH instrumentation/events/lttng-module
 
-#include "../instrumentation/events/lttng-module/workqueue.h"
+#include <instrumentation/events/lttng-module/workqueue.h>
 
 MODULE_LICENSE("GPL and additional rights");
 MODULE_AUTHOR("Andrew Gabbasov <andrew_gabbasov@mentor.com>");
 MODULE_DESCRIPTION("LTTng workqueue probes");
+MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "."
+       __stringify(LTTNG_MODULES_MINOR_VERSION) "."
+       __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION)
+       LTTNG_MODULES_EXTRAVERSION);
This page took 0.022594 seconds and 4 git commands to generate.