Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
/*
* Compatible lttng-modules version.
*/
-#define KERN_MODULES_VERSION 0
-#define KERN_MODULES_PATCHLEVEL 9
-#define KERN_MODULES_SUBLEVEL 1
+#define KERN_MODULES_PRE_VERSION 1
+#define KERN_MODULES_PRE_PATCHLEVEL 9
+
+#define KERN_MODULES_VERSION 2
+#define KERN_MODULES_PATCHLEVEL 0
+#define KERN_MODULES_SUBLEVEL 0
struct kern_modules_param {
const char *name;
}
/* Validate version */
- if (version.version > KERN_MODULES_VERSION) {
+ if (version.version != KERN_MODULES_PRE_VERSION
+ && version.version != KERN_MODULES_VERSION) {
goto error_version;
}