On 8 September 2014 20:55, Bruce Ashfield <[email protected]> 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 <[email protected]> > +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 <[email protected]>
These patches need Upstream-Status: Backport and your s-o-b. Ross -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
