Fix: use printk_once() for wrapper warning messages
[lttng-modules.git] / wrapper / vmalloc.h
index dad8d4e34498426762a1d195ed0510f47248c26a..2332439fe34c56515cefcaa4eda787a65ecaf835 100644 (file)
@@ -44,8 +44,8 @@ void wrapper_vmalloc_sync_all(void)
                 * Only x86 needs vmalloc_sync_all to make sure LTTng does not
                 * trigger recursive page faults.
                 */
-               printk(KERN_WARNING "LTTng: vmalloc_sync_all symbol lookup failed.\n");
-               printk(KERN_WARNING "Page fault handler and NMI tracing might trigger faults.\n");
+               printk_once(KERN_WARNING "LTTng: vmalloc_sync_all symbol lookup failed.\n");
+               printk_once(KERN_WARNING "Page fault handler and NMI tracing might trigger faults.\n");
 #endif
        }
 }
This page took 0.022852 seconds and 4 git commands to generate.