[lttng-dev] [lttng-modules PATCH] makefile: check kernel version and config token

Alexandre Montplaisir alexandre.montplaisir at polymtl.ca
Wed Dec 21 10:33:02 EST 2011


On 11-12-21 09:08 AM, Yannick Brosseau wrote:
> On 2011-12-21 08:30, Gerlando Falauto wrote:
>> a) When kernel is not compatible (version < 2.6.39), don't try to
>>    compile but display a warning instead
> Is that really the oldest version you can compile it with? Initial test
> have should that we were able to support at least 2.6.35, but that may
> have changed.
>
>

FWIW, I've personally built it on 2.6.38 with no problems (that was one
of the first versions of lttng-modules though, it might have changed since).

Someone tried to build it on 2.6.35 but it didn't work out-of-the-box
and they had to backport a couple patches.

Perhaps instead of a straight version check, lttng-modules should check
if some kernel features are available? "lxc-checkconfig" does something
similar for LXCs.

-- 
Alexandre Montplaisir
DORSAL lab,
École Polytechnique de Montréal




More information about the lttng-dev mailing list