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:39:37 +0000 (10:39 -0400)
commitb3d29fd645cb4db58322278b90ea27dd3e99befa
tree1857aabf4dc8c256de5e28779cec1f1db837ef7f
parentf37e05c62a2f5739e2f25db53cb6dc741029547c
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.026015 seconds and 4 git commands to generate.