Fix: add missing module version information
[lttng-modules.git] / probes / lttng-probe-kmem.c
index 441df75fe034cd768ae1efff0dcfb29ebadb21f5..c8252ec0514de99be69e499601c916bbfdaf3b74 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
@@ -43,3 +44,7 @@
 MODULE_LICENSE("GPL and additional rights");
 MODULE_AUTHOR("Wade Farnsworth <wade_farnsworth@mentor.com> and Andrew Gabbasov <andrew_gabbasov@mentor.com>");
 MODULE_DESCRIPTION("LTTng kmem 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.023845 seconds and 4 git commands to generate.