[OE-core] [PATCH 2/7] lttng-modules: fix compilation for 3.17-rcX

Bruce Ashfield bruce.ashfield at gmail.com
Tue Sep 9 12:53:02 UTC 2014


On Tue, Sep 9, 2014 at 7:40 AM, Burton, Ross <ross.burton at intel.com> wrote:
> On 8 September 2014 20:55, Bruce Ashfield <bruce.ashfield at windriver.com> wrote:
>> +++ b/meta/recipes-kernel/lttng/lttng-modules/Fix-noargs-probes-should-calculate-alignment-and-eve.patch
>> @@ -0,0 +1,127 @@
>> +From d3de7f1468be0b18145ff85b3c1a7c7fb1d48c15 Mon Sep 17 00:00:00 2001
>> +From: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
>> +Date: Fri, 25 Jul 2014 12:30:43 -0400
>> +Subject: [PATCH 1/3] Fix: noargs probes should calculate alignment and event
>> + length
>> +
>> +A noargs probe could have event fields. noargs just means that the probe
>> +does not receive any argument as parameter. However, it could very well
>> +serialize data into fields (global variables, constants, etc).
>> +
>> +It just happens that LTTng does not serialize any data in noargs events
>> +at the moment, but this may very well change.
>> +
>> +The if (0) with (void) variable access strategy to stop compiler from
>> +complaining from unused variables does not seem to work as expected with
>> +gcc 4.9.1. Use "unused" attribute instead.
>> +
>> +Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
>
> These patches need Upstream-Status: Backport and your s-o-b.

I've never done that before .. and will be on the road until Friday,
so they'll have
to wait until then.

Bruce

>
> Ross
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



More information about the Openembedded-core mailing list