[lttng-dev] It should be possible to build lttng w/o the test clock plugin.

Anders Wallin wallinux at gmail.com
Fri Jul 22 07:27:17 UTC 2016


> Message: 3
> Date: Tue, 19 Jul 2016 15:31:00 -0400
> From: Jonathan Rajotte Julien <Jonathan.rajotte-julien at efficios.com>
> To: lttng-dev at lists.lttng.org
> Subject: Re: [lttng-dev] It should be possible to build lttng w/o the
>         test clock plugin.
> Message-ID: <553967e1-855a-954b-5a06-5fd7e2ab309e at efficios.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Hi Anders,
>
> Thanks for your contribution. Make sure to look at the contributor's
> guide [1].
>
> [1] http://lttng.org/community/#contributors-guide
Will do

>
>
> On 2016-07-19 03:18 PM, Anders Wallin wrote:
>> Hi,
>>
>> only one clock plugin can be used when building lttng inside the kernel.
>> To be able to write a custom clock plugin it should be possible to not
>> build the test clock plugin.
>>
>> This appended patch is one way to make this possible.
>
> What would be the alternative ?

A "dirty" alternative would be to replace the module_init/rootfs_initcall
in the custom clock plugin with something that is called earlier like
fs_initcall.

>
> Cheers
>
>>
>> Regards
>> Anders Wallin
>>
>>
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev at lists.lttng.org
>> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
> --
> Jonathan R. Julien
> Efficios
>
>
>
> ------------------------------


More information about the lttng-dev mailing list