Fix: add missing module version information
[lttng-modules.git] / probes / lttng-probe-timer.c
index 299f630c704465579911842a3c805f956e5349f0..f86f7120591fb0ee67682a03b0b11c4ae5dbbdf2 100644 (file)
@@ -21,6 +21,7 @@
  */
 
 #include <linux/module.h>
+#include "../lttng-tracer.h"
 
 /*
  * Create the tracepoint static inlines from the kernel to validate that our
@@ -44,3 +45,7 @@
 MODULE_LICENSE("GPL and additional rights");
 MODULE_AUTHOR("Mathieu Desnoyers <mathieu.desnoyers@efficios.com>");
 MODULE_DESCRIPTION("LTTng timer 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.024162 seconds and 4 git commands to generate.