Fix: the clock plugin must be initiated before first use of the clock
authorAnders Wallin <wallinux@gmail.com>
Fri, 22 Jul 2016 13:56:59 +0000 (15:56 +0200)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 22 Jul 2016 14:38:05 +0000 (10:38 -0400)
commit69a6252d5bf1787f2bbd0b6f35af8dff21efcb55
treebec2cda381c91ad82c83b0b122bb77b972e5c726
parent50af1e023fbb291e9085be8762fc2ad60308c3a4
Fix: the clock plugin must be initiated before first use of the clock

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>
tests/clock-plugin/lttng-clock-plugin-test.c
This page took 0.026488 seconds and 4 git commands to generate.