Fix: adjust SLE version ranges to build with SP2 and SP3
[lttng-modules.git] / probes / lttng-probe-workqueue.c
index 6f36e004c45e9bc0f697beca9c34fa5512f9b3c7..9d3192e34b372de234586acb593e746e4675bb33 100644 (file)
 
 #include <linux/module.h>
 #include <linux/idr.h>
+#include <lttng-tracer.h>
 
 struct cpu_workqueue_struct;
+struct pool_workqueue;
 
 /*
  * Create the tracepoint static inlines from the kernel to validate that our
@@ -32,17 +34,21 @@ struct cpu_workqueue_struct;
  */
 #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.023154 seconds and 4 git commands to generate.