Fix: load state dump even if work-around lookup fails
[lttng-modules.git] / lttng-statedump-impl.c
index 35e18a473201b9756430055fd38278071cd50aa6..a633657a3966ca702410eac440c0def819fc8d17 100755 (executable)
@@ -426,7 +426,14 @@ EXPORT_SYMBOL_GPL(lttng_statedump_start);
 static
 int __init lttng_statedump_init(void)
 {
-       return wrapper_lttng_fixup_sig(THIS_MODULE);
+       /*
+        * Allow module to load even if the fixup cannot be done. This
+        * will allow seemless transition when the underlying issue fix
+        * is merged into the Linux kernel, and when tracepoint.c
+        * "tracepoint_module_notify" is turned into a static function.
+        */
+       (void) wrapper_lttng_fixup_sig(THIS_MODULE);
+       return 0;
 }
 
 module_init(lttng_statedump_init);
This page took 0.023442 seconds and 4 git commands to generate.