Hi, On Tue, Jun 06, 2017 at 01:19:11PM -0400, Michael Steppe wrote: > Hello! > > I had previously built LTTng-modules 2.8.0 from source without issue on > CentOS 7.2 (3.10.0-327 kernel). When I tried to build on CentOS 7.3 > (3.10.0-514 kernel), however, it failed with multiple "error: struct has no > member named 'id'" and "error: struct has no member named 'name'" errors. I > tried building LTTng-modules 2.9.2 from source on CentOS 7.3 and was > successful (it also built successfully on CentOS 7.2). > > I was just curious at what version of LTTng-modules did the newer kernel in > CentOS 7.3 get supported. I would like to jump as small as possible, so if > there was a version of the modules between 2.8.0 and 2.9.2 that was > supported that would be great.
In the specific case of kernel 3.10.0-514, lttng-modules stable 2.8 is fixed starting from commit f61eb2851f482baee02bb508aef01f67fdb3fbaf (stable 2.8 branch) and 5f9ff4e230753160ccfc300d44004b117cf678ad (master branch): ----------- commit f61eb2851f482baee02bb508aef01f67fdb3fbaf Author: Michael Jeanson <[email protected]> Date: Wed Dec 7 14:17:33 2016 -0500 Fix: asoc instrumentation for RHEL 7.3 Signed-off-by: Michael Jeanson <[email protected]> Signed-off-by: Mathieu Desnoyers <[email protected]> ----------- Hence you can upgrade lttng-modules to any tag greater or equal to v2.8.4. If you can't upgrade to the 2.9.x stable release the v2.8.5 tag is your best bet. Cheers > > Thanks! > Michael Steppe > _______________________________________________ > lttng-dev mailing list > [email protected] > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Jonathan Rajotte-Julien EfficiOS _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
