[lttng-dev] Debian 3.16.7-ckt9-2 issue with lttng-modules kmem probe

Jon Bernard jbernard at debian.org
Fri Apr 24 12:59:35 EDT 2015


* Mathieu Desnoyers <mathieu.desnoyers at efficios.com> wrote:
> Hi Jon,
> 
> It appears that lttng-modules cannot build on the
> Debian kernel 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt9-2 (2015-04-13)
> x86_64 GNU/Linux.
> 
> It appears that their exported kmem.h header differs from
> the upstream stable branch, but AFAIK there is no Debian-specific
> version number available to distinguish between upstream stable
> and the Debian kernel.

Indeed.  The only distinguishing characteristic I see is EXTRAVERSION
defined to '-ckt9'.  I haven't had a chance to try yet, but could that
be acceptable?

> We have been hit by this in the past for Ubuntu kernels, and the
> solution has been to introduce a UTS_UBUNTU_RELEASE_ABI define
> into their kernels, which can be used to follow their own kernel
> versions.
> 
> Do you think we could ask Debian to do the same ?

I'm happy to ask, the argument is certainly sound.

-- 
Jon



More information about the lttng-dev mailing list