Namespace kernel version macros
[lttng-modules.git] / src / wrapper / kallsyms.c
index 6af77f538950d7b3718bd33fffb749053ae03333..d284876407a0396dbe9a3cd22f574961653b5dbf 100644 (file)
@@ -14,7 +14,7 @@
 #include <linux/module.h>
 #include <wrapper/kallsyms.h>
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,7,0))
 
 #ifndef CONFIG_KPROBES
 # error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"
@@ -61,7 +61,7 @@ unsigned long wrapper_kallsyms_lookup_name(const char *name)
        if (kallsyms_lookup_name_sym)
                return kallsyms_lookup_name_sym(name);
        else {
-               printk_once(KERN_WARNING "LTTng requires kallsyms_lookup_name\n");
+               printk_once(KERN_WARNING "LTTng: requires kallsyms_lookup_name\n");
                return 0;
        }
 }
This page took 0.023103 seconds and 4 git commands to generate.