Fix: update writeback instrumentation for kernel 4.14
[lttng-modules.git] / probes / lttng-probe-writeback.c
index 5e421e59f93d374aab483d8d6b977341bec7de4c..45e3f18215863a4ac3073fcf31da173392802be3 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/module.h>
 #include <linux/device.h>
 #include <linux/mm.h>
+#include <lttng-tracer.h>
 
 /*
  * Create the tracepoint static inlines from the kernel to validate that our
@@ -31,8 +32,8 @@
  */
 #include <trace/events/writeback.h>
 
-#include "../lttng-kernel-version.h"
-#include "../wrapper/writeback.h"
+#include <lttng-kernel-version.h>
+#include <wrapper/writeback.h>
 
 /* #if <check version number if global_dirty_limit will be exported> */
 
  */
 #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/writeback.h"
+#include <instrumentation/events/lttng-module/writeback.h>
 
 MODULE_LICENSE("GPL and additional rights");
 MODULE_AUTHOR("Andrew Gabbasov <andrew_gabbasov@mentor.com>");
 MODULE_DESCRIPTION("LTTng writeback 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.022868 seconds and 4 git commands to generate.