New: [lttng] Version 2.6.0 unusable with kernel v4.0.0
https://bugs.busybox.net/show_bug.cgi?id=8476
Summary: [lttng] Version 2.6.0 unusable with kernel v4.0.0
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: minor
Priority: P5
Component: Outdated package
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: baronju at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Generating a build using buildroot with linux kernel v4.0.0 and lttng packages generates the following error :
CC [M]
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/lttng-probe-block.o
In file included from /continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0,
from
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/../instrumentation/events/lttng-module/kmem.h:380,
from
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/lttng-probe-kmem.c:42:
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:180:6:
error: conflicting types for ?trace_mm_page_alloc_extfrag?
void trace_##_name(_proto);
^/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:47:2:
note: in expansion of macro ?LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP?
LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto),
PARAMS(args))
^
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:107:2:
note: in expansion of macro ?LTTNG_TRACEPOINT_EVENT_MAP?
LTTNG_TRACEPOINT_EVENT_MAP(name, name, \
^
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/kmem.h:291:1:
note: in expansion of macro ?LTTNG_TRACEPOINT_EVENT?
LTTNG_TRACEPOINT_EVENT(mm_page_alloc_extfrag,
^
In file included from include/trace/events/kmem.h:8:0,
from
/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/lttng-probe-kmem.c:31:include/linux/tracepoint.h:169:21: note: previous definition of
?trace_mm_page_alloc_extfrag? was here
static inline void trace_##name(proto) \
^include/linux/tracepoint.h:325:3: note: in expansion of macro ?__DECLARE_TRACE?
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), 1, \
^include/linux/tracepoint.h:459:2: note: in expansion of macro ?DECLARE_TRACE?
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
^include/trace/events/kmem.h:267:1: note: in expansion of macro ?TRACE_EVENT?
TRACE_EVENT(mm_page_alloc_extfrag,
^
make[4]: *** [/continuus/jb01445/hg/br-top/buildroot/output/build/lttng-modules-2.6.0/probes/lttng-probe-kmem.o] Error 1
It seems that lttng v2.6.0 does not work with "recent" kernel version. Using lttng-modules 2.6.4, lttng-ust 2.6.4 and lttng-tools 2.6.1 seems to solve the problem.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 8476] [lttng] Version 2.6.0 unusable with kernel v4.0.0
https://bugs.busybox.net/show_bug.cgi?id=8476
--- Comment #1 from Vicente Olivert Riera <[email protected]> 2015-11-25 16:28:31 UTC --- I guess we could update lttng-{libust,modules,tools} to the 2.7.0 version.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
[Buildroot] [Bug 8476] [lttng] Version 2.6.0 unusable with kernel v4.0.0
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=8476
Thomas Petazzoni <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED--- Comment #2 from Thomas Petazzoni <[email protected]> 2015-11-29 23:02:29 UTC --- This is fixed by
http://git.buildroot.net/buildroot/commit/?h=next&id=c2be38b9e3bee22129b9da160a8d131ce4e1efac,
which will be part of the 2016.02 release. It was too late for this version
bump to be part of 2015.11.
Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.