<div dir="ltr"><div>Hi,</div><div><br></div><div>Thanks for reporting. A commit that changed the instrumentation of</div><div>mm_page_alloc_extfrag in 3.19.2 was backported to 3.14.36. I submitted</div><div>a patch fixing this to the list, which should resolve your issue once</div><div>merged.</div><div><br></div><div>Regards,</div><div><br></div><div>Antoine Busque.</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 21, 2015 at 8:43 AM, Bjørn Forsman <span dir="ltr"><<a href="mailto:bjorn.forsman@gmail.com" target="_blank">bjorn.forsman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi list,<br>
<br>
(I'm not subscribed, please CC me.)<br>
<br>
The breakage started with linux 3.14.36. Here is the build error, with<br>
lttng-modules from master branch (stable-2.6 branch is also affected):<br>
<br>
...<br>
LD [M] /tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/lib/lttng-lib-ring-buffer.o<br>
/tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/Makefile:214:<br>
CONFIG_KALLSYMS_ALL is disabled,<br>
therefore probe "writeback" is disabled. Rebuild your kernel with this<br>
configuration option enabled in order to trace this subsystem.<br>
CC [M] /tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/lttng-types.o<br>
CC [M] /tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/lttng-probe-sched.o<br>
CC [M] /tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/lttng-probe-irq.o<br>
CC [M] /tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/lttng-probe-timer.o<br>
CC [M] /tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/lttng-probe-kmem.o<br>
In file included from<br>
/tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/../instrumentation/events<br>
/lttng-module/../../../probes/define_trace.h:136:0,<br>
from<br>
/tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/../instrumentation/events<br>
/lttng-module/kmem.h:465,<br>
from<br>
/tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/lttng-probe-kmem.c:42:<br>
/tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/../instrumentation/events/lttng-module/../../..<br>
/probes/lttng-events.h:180:6: error: conflicting types for<br>
'trace_mm_page_alloc_extfrag'<br>
void trace_##_name(_proto);<br>
^<br>
/tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/../instrumentation/events/lttng-module/../../..<br>
/probes/lttng-events.h:47:2: note: in expansion of macro<br>
'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'<br>
LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS(proto),<br>
PARAMS(args))<br>
^<br>
/tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/../instrumentation/events/lttng-module/../../..<br>
/probes/lttng-events.h:107:2: note: in expansion of macro<br>
'LTTNG_TRACEPOINT_EVENT_MAP'<br>
LTTNG_TRACEPOINT_EVENT_MAP(name, name, \<br>
^<br>
/tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/../instrumentation/events/lttng-module/../../..<br>
/probes/../instrumentation/events/lttng-module/kmem.h:334:1: note: in<br>
expansion of macro 'LTTNG_TRACEPOINT_EVENT'<br>
LTTNG_TRACEPOINT_EVENT(mm_page_alloc_extfrag,<br>
^<br>
In file included from<br>
/nix/store/5ib7vccbi3mj9y0hr0snas00lagjbai1-linux-3.14.36-dev/lib/modules/3.14.36/source/include/linux/module.h<br>
:18:0,<br>
from<br>
/tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/lttng-probe-kmem.c:24:<br>
/nix/store/5ib7vccbi3mj9y0hr0snas00lagjbai1-linux-3.14.36-dev/lib/modules/3.14.36/source/include/linux/tracepoint.h:168:21:<br>
note: pre<br>
vious definition of 'trace_mm_page_alloc_extfrag' was here<br>
static inline void trace_##name(proto) \<br>
^<br>
/nix/store/5ib7vccbi3mj9y0hr0snas00lagjbai1-linux-3.14.36-dev/lib/modules/3.14.36/source/include/linux/tracepoint.h:265:3:<br>
note: in e<br>
xpansion of macro '__DECLARE_TRACE'<br>
__DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), 1, \<br>
^<br>
/nix/store/5ib7vccbi3mj9y0hr0snas00lagjbai1-linux-3.14.36-dev/lib/modules/3.14.36/source/include/linux/tracepoint.h:399:2:<br>
note: in e<br>
xpansion of macro 'DECLARE_TRACE'<br>
DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))<br>
^<br>
/nix/store/5ib7vccbi3mj9y0hr0snas00lagjbai1-linux-3.14.36-dev/lib/modules/3.14.36/source/include/trace/events/kmem.h:267:1:<br>
note: in<br>
expansion of macro 'TRACE_EVENT'<br>
TRACE_EVENT(mm_page_alloc_extfrag,<br>
^<br>
/nix/store/5ib7vccbi3mj9y0hr0snas00lagjbai1-linux-3.14.36-dev/lib/modules/3.14.36/source/scripts/Makefile.build:314:<br>
recipe for targe<br>
t '/tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/lttng-probe-kmem.o'<br>
failed<br>
make[5]: *** [/tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes/lttng-probe-kmem.o]<br>
Error 1<br>
/nix/store/5ib7vccbi3mj9y0hr0snas00lagjbai1-linux-3.14.36-dev/lib/modules/3.14.36/source/scripts/Makefile.build:455:<br>
recipe for targe<br>
t '/tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes'<br>
failed<br>
make[4]: *** [/tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules/probes]<br>
Error 2<br>
/nix/store/5ib7vccbi3mj9y0hr0snas00lagjbai1-linux-3.14.36-dev/lib/modules/3.14.36/source/Makefile:1276:<br>
recipe for target '_module_/t<br>
mp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules'<br>
failed<br>
make[3]: *** [_module_/tmp/nix-build-lttng-modules-2.6.0-rc1-20-g99a570c-3.14.36.drv-0/lttng-modules]<br>
Error 2<br>
Makefile:133: recipe for target 'sub-make' failed<br>
make[2]: *** [sub-make] Error 2<br>
Makefile:26: recipe for target 'all' failed<br>
make[1]: *** [all] Error 2<br>
make[1]: Leaving directory<br>
'/nix/store/5ib7vccbi3mj9y0hr0snas00lagjbai1-linux-3.14.36-dev/lib/modules/3.14.36/build'<br>
Makefile:70: recipe for target 'default' failed<br>
make: *** [default] Error 2<br>
<br>
Best regards,<br>
Bjørn Forsman<br>
<br>
_______________________________________________<br>
lttng-dev mailing list<br>
<a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br>
<a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>
</blockquote></div><br></div></div>