When building lttng inside the kernel the clock plugin must be initated
before the rest of the lttng code. Moved the module_init to
rootfs_initcall. The functionality will not change when built as a
module.
Signed-off-by: Anders Wallin <wallinux@gmail.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
{
return lttng_clock_register_plugin(<c, THIS_MODULE);
}
-module_init(lttng_clock_plugin_init);
+rootfs_initcall(lttng_clock_plugin_init);
static __exit
void lttng_clock_plugin_exit(void)