Fix: add missing module version information
[lttng-modules.git] / probes / lttng-probe-printk.c
index 1fe1f01a65c395a02f1f1120e313fdfd4011474c..41f3a7b933059200ef6b8cb3f655d4e03ab6da8c 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 printk 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.026452 seconds and 4 git commands to generate.