Fix: add missing module version information
[lttng-modules.git] / probes / lttng-probe-compaction.c
index 13b9959080e1e9689a3b5c81ee5061caa08629c2..86ef375e3378849336fa9cd0a2d77c99df2ded1d 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include <linux/module.h>
+#include "../lttng-tracer.h"
 
 /*
  * Create the tracepoint static inlines from the kernel to validate that our
@@ -41,3 +42,7 @@
 MODULE_LICENSE("GPL and additional rights");
 MODULE_AUTHOR("Andrew Gabbasov <andrew_gabbasov@mentor.com>");
 MODULE_DESCRIPTION("LTTng compaction 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.024555 seconds and 4 git commands to generate.