Fix: the clock plugin must be initiated before first use of the clock
[lttng-modules.git] / tests / clock-plugin / lttng-clock-plugin-test.c
index f16ea645543a32a3dfe9d420ec465e4262128a53..bf8193298602840dda91c0d23f48a80e6f1bab33 100644 (file)
@@ -67,7 +67,7 @@ int lttng_clock_plugin_init(void)
 {
        return lttng_clock_register_plugin(&ltc, THIS_MODULE);
 }
-module_init(lttng_clock_plugin_init);
+rootfs_initcall(lttng_clock_plugin_init);
 
 static __exit
 void lttng_clock_plugin_exit(void)
This page took 0.023439 seconds and 4 git commands to generate.