Building lttng-modules against linux 3.2.65
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Junho,
Can you reproduce this with the latest 2.7 stable branch of lttng-modules or master ?
Also there is a newer release for 2.6 which is v2.6.4 so you might want to try this also.
Cheers
Quoted 315 lines · Junho Suh
Hi,
I am currently building the LTTng 2.6.1 against the linux kernel 3.2.65. When building lttng-modules, I get the below error:
It seems the proper definition of "
page->index" can not be found in the right header file.
I also patch theMakefileby following the link (
https://lists.lttng.org/pipermail/lttng-dev/2013-September/021322.html)
which has similar problem, but it doesn’t work.Anybody can help me?
Thanks~
===
Log data follows:
| DEBUG: Executing shell functiondo_compile
| NOTE: make -j 2 -e MAKEFLAGS=
KERNEL_SRC=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source
KERNEL_PATH=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source
KERNEL_VERSION=3.2.65 CC=x86_64-openswitch-linux-gcc
LD=x86_64-openswitch-linux-ld.bfd AR=x86_64-openswitch-linux-ar
O=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-build-artifacts
|
LTTNG_KERNELDIR=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source
make -C/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source
M=/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git
modules
| make[1]: Entering directory
`/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source'
|/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/Makefile:250:CONFIG_KALLSYMS_ALLis disabled, therefore probe "writeback" is disabled.
Rebuild your kernel with this configuration option enabled in order to
trace this subsystem.
| CC [M]
/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/lttng-probe-ext3.o
| In file included from/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0,
| from/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/ext3.h:902,
| from/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/lttng-probe-ext3.c:49:
|/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:
In function '__event_probe__ext3__page_op':
|/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:253:24:
error: dereferencing pointer to incomplete type| tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:240:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(ext3__page_op, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:252:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:253:3: note: in expansion of macro 'tp_assign' | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:254:22: error: dereferencing pointer to incomplete type | tp_assign(ino, page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:240:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(ext3__page_op, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:252:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:254:3: note: in expansion of macro 'tp_assign' | tp_assign(ino, page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:255:22: error: dereferencing pointer to incomplete type | tp_assign(dev, page->mapping->host->i_sb->s_dev) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:240:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(ext3__page_op, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:252:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:255:3: note: in expansion of macro 'tp_assign' | tp_assign(dev, page->mapping->host->i_sb->s_dev) | ^ |
/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:
In function '__event_probe__ext3_invalidatepage':
|/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:344:24:
error: dereferencing pointer to incomplete type| tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:41:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:45:9: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/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, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:111:4: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:330:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' | LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:343:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:344:3: note: in expansion of macro 'tp_assign' | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:346:37: error: dereferencing pointer to incomplete type | tp_assign(ino, (unsigned long)page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:41:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:45:9: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/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, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:111:4: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:330:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' | LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:343:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:346:3: note: in expansion of macro 'tp_assign' | tp_assign(ino, (unsigned long)page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:347:37: error: dereferencing pointer to incomplete type | tp_assign(dev, (unsigned long)page->mapping->host->i_sb->s_dev) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:41:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:45:9: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/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, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:111:4: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:330:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' | LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:343:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:347:3: note: in expansion of macro 'tp_assign' | tp_assign(dev, (unsigned long)page->mapping->host->i_sb->s_dev) | ^ | make[4]: ***[
/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/lttng-probe-ext3.o] Error 1
| make[3]: *** [/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes] Error 2
| make[2]: *** [_module_/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git] Error 2
| make[1]: *** [sub-make] Error 2
| make[1]: Leaving directory
`/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source'| make: *** [default] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at
/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/temp/log.do_compile.22702)_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 1 line
Jonathan Rajotte Julien
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
A message that is not in the archive (sent off-list or not yet received): CAF4oYfGJYtX30BhiR98eT-7dUinYX1Fsd5+fUjrHJhR8CkT17w@mail.gmail.com
Hi Junho,
Also, it looks like you are building via OpenEmbedded/yocto. Could you provide us with more information on your environnement (oe/yocto version,recipe etc.).
Thanks
Quoted 333 lines · Jonathan Rajotte
Hi Junho,
Can you reproduce this with the latest 2.7 stable branch of lttng-modules or master ?
Also there is a newer release for 2.6 which is v2.6.4 so you might want to try this also.
Cheers
Quoted 307 lines · Junho Suh
Hi,
I am currently building the LTTng 2.6.1 against the linux kernel 3.2.65. When building lttng-modules, I get the below error:
It seems the proper definition of "
page->index" can not be found in the right header file.
I also patch theMakefileby following the link (
https://lists.lttng.org/pipermail/lttng-dev/2013-September/021322.html)
which has similar problem, but it doesn’t work.Anybody can help me?
Thanks~
===
Log data follows:
| DEBUG: Executing shell functiondo_compile
| NOTE: make -j 2 -e MAKEFLAGS=
KERNEL_SRC=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source
KERNEL_PATH=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source
KERNEL_VERSION=3.2.65 CC=x86_64-openswitch-linux-gcc
LD=x86_64-openswitch-linux-ld.bfd AR=x86_64-openswitch-linux-ar
O=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-build-artifacts
|
LTTNG_KERNELDIR=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source
make -C/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source
M=/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git
modules
| make[1]: Entering directory
`/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source'
|/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/Makefile:250:CONFIG_KALLSYMS_ALLis disabled, therefore probe "writeback" is disabled.
Rebuild your kernel with this configuration option enabled in order to
trace this subsystem.
| CC [M]
/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/lttng-probe-ext3.o
| In file included from/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0,
| from/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/ext3.h:902,
| from/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/lttng-probe-ext3.c:49:
|/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:
In function '__event_probe__ext3__page_op':
|/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:253:24:
error: dereferencing pointer to incomplete type| tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:240:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(ext3__page_op, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:252:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:253:3: note: in expansion of macro 'tp_assign' | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:254:22: error: dereferencing pointer to incomplete type | tp_assign(ino, page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:240:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(ext3__page_op, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:252:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:254:3: note: in expansion of macro 'tp_assign' | tp_assign(ino, page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:255:22: error: dereferencing pointer to incomplete type | tp_assign(dev, page->mapping->host->i_sb->s_dev) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:240:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(ext3__page_op, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:252:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:255:3: note: in expansion of macro 'tp_assign' | tp_assign(dev, page->mapping->host->i_sb->s_dev) | ^ |
/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:
In function '__event_probe__ext3_invalidatepage':
|/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:344:24:
error: dereferencing pointer to incomplete type| tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:41:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:45:9: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/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, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:111:4: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:330:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' | LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:343:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:344:3: note: in expansion of macro 'tp_assign' | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:346:37: error: dereferencing pointer to incomplete type | tp_assign(ino, (unsigned long)page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:41:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:45:9: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/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, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:111:4: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:330:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' | LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:343:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:346:3: note: in expansion of macro 'tp_assign' | tp_assign(ino, (unsigned long)page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:347:37: error: dereferencing pointer to incomplete type | tp_assign(dev, (unsigned long)page->mapping->host->i_sb->s_dev) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:41:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:45:9: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/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, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:111:4: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:330:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' | LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:343:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:347:3: note: in expansion of macro 'tp_assign' | tp_assign(dev, (unsigned long)page->mapping->host->i_sb->s_dev) | ^ | make[4]: ***[
/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/lttng-probe-ext3.o] Error 1
| make[3]: *** [/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes] Error 2
| make[2]: *** [_module_/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git] Error 2
| make[1]: *** [sub-make] Error 2
| make[1]: Leaving directory
`/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source'| make: *** [default] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located atQuoted 8 lines
/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/temp/log.do_compile.22702)_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev--
Jonathan Rajotte Julien
Signature · 1 line
Jonathan Rajotte Julien
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
A message that is not in the archive (sent off-list or not yet received): CAF4oYfGH0cc2nJJrCxvDA4EPY2tJ5wnGjbhw-6UCd6WpS9L13A@mail.gmail.com
Hi Jonathan
Thanks for helping me. I attach the recipe files that related to the lttng-modules building. Also, I use Poky 1.8 distro version.
Junho Suh
Quoted 197 lines · Jonathan Rajotte
Hi Junho,
Also, it looks like you are building via OpenEmbedded/yocto. Could you provide us with more information on your environnement (oe/yocto version,recipe etc.).
Thanks
On Wed, Mar 30, 2016 at 9:46 PM, Jonathan Rajotte <[email protected] <mailto:[email protected]>> wrote:
Hi Junho,Can you reproduce this with the latest 2.7 stable branch of lttng-modules or master ?
Also there is a newer release for 2.6 which is v2.6.4 so you might want to try this also.
Cheers
On Wed, Mar 30, 2016 at 9:38 PM, Junho Suh <[email protected] <mailto:[email protected]>> wrote:
Hi,I am currently building the LTTng 2.6.1 against the linux kernel 3.2.65. When building lttng-modules, I get the below error:
It seems the proper definition of "
page->index" can not be found in the right header file.
I also patch theMakefileby following the link (https://lists.lttng.org/pipermail/lttng-dev/2013-September/021322.html <https://lists.lttng.org/pipermail/lttng-dev/2013-September/021322.html>) which has similar problem, but it doesn’t work.Anybody can help me?
Thanks~
===
Log data follows:| DEBUG: Executing shell function do_compile | NOTE: make -j 2 -e MAKEFLAGS= KERNEL_SRC=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source KERNEL_PATH=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source KERNEL_VERSION=3.2.65 CC=x86_64-openswitch-linux-gcc LD=x86_64-openswitch-linux-ld.bfd AR=x86_64-openswitch-linux-ar O=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-build-artifacts | LTTNG_KERNELDIR=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source make -C /home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source M=/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git modules | make[1]: Entering directory `/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source' | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/Makefile:250: CONFIG_KALLSYMS_ALL is disabled, therefore probe "writeback" is disabled. Rebuild your kernel with this configuration option enabled in order to trace this subsystem. | CC [M] /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/lttng-probe-ext3.o | In file included from /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0, | from /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/ext3.h:902, | from /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/lttng-probe-ext3.c:49: | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h: In function '__event_probe__ext3__page_op': | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:253:24: error: dereferencing pointer to incomplete type | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:240:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(ext3__page_op, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:252:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:253:3: note: in expansion of macro 'tp_assign' | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:254:22: error: dereferencing pointer to incomplete type | tp_assign(ino, page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:240:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(ext3__page_op, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:252:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:254:3: note: in expansion of macro 'tp_assign' | tp_assign(ino, page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:255:22: error: dereferencing pointer to incomplete type | tp_assign(dev, page->mapping->host->i_sb->s_dev) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:240:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(ext3__page_op, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:252:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:255:3: note: in expansion of macro 'tp_assign' | tp_assign(dev, page->mapping->host->i_sb->s_dev) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h: In function '__event_probe__ext3_invalidatepage': | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:344:24: error: dereferencing pointer to incomplete type | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:41:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:45:9: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/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, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:111:4: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:330:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' | LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:343:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:344:3: note: in expansion of macro 'tp_assign' | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:346:37: error: dereferencing pointer to incomplete type | tp_assign(ino, (unsigned long)page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:41:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:45:9: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/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, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:111:4: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:330:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' | LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:343:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:346:3: note: in expansion of macro 'tp_assign' | tp_assign(ino, (unsigned long)page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:347:37: error: dereferencing pointer to incomplete type | tp_assign(dev, (unsigned long)page->mapping->host->i_sb->s_dev) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:41:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:45:9: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/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, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:111:4: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:330:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' | LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:343:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:347:3: note: in expansion of macro 'tp_assign' | tp_assign(dev, (unsigned long)page->mapping->host->i_sb->s_dev) | ^ | make[4]: *** [/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/lttng-probe-ext3.o] Error 1 | make[3]: *** [/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes] Error 2 | make[2]: *** [_module_/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git] Error 2 | make[1]: *** [sub-make] Error 2 | make[1]: Leaving directory `/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source' | make: *** [default] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/temp/log.do_compile.22702)
Quoted 17 lines
_______________________________________________
lttng-dev mailing list
[email protected] <mailto:[email protected]>
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev <https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev>Signature · 7 lines
Jonathan Rajotte Julien -- Jonathan Rajotte Julien
{\rtf1\ansi\ansicpg1252\cocoartf1404\cocoasubrtf340
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;} \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
\f0\fs24 \cf0 SECTION = "devel"\
SUMMARY = "Linux Trace Toolkit KERNEL MODULE"\
DESCRIPTION = "The lttng-modules 2.0 package contains the kernel tracer modules"\
LICENSE = "LGPLv2.1 & GPLv2 & MIT"\
LIC_FILES_CHKSUM = "file://LICENSE;md5=1412caf5a1aa90d6a48588a4794c0eac \\\
file://gpl-2.0.txt;md5=751419260aa954499f7abaabaa882bbe \\\
file://lgpl-2.1.txt;md5=243b725d71bb5df4a1e5920b344b86ad"\\
inherit module\
\
SRCREV = "62080b2248fd8ec4111ffc379d0bc5eaf0a5c16d"\
\COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|arm).*-linux'\
\
SRC_URI = "git://git.lttng.org/lttng-modules.git;branch=stable-2.6 \\\
file://lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch \\\
"\\
export INSTALL_MOD_DIR="kernel/lttng-modules"\
export KERNEL_SRC="$\{STAGING_KERNEL_DIR\}"\
\
\
S = "$\{WORKDIR\}/git"\
\
do_install_append() \{\
# Delete empty directories to avoid QA failures if no modules were built\
find $\{D\}/lib -depth -type d -empty -exec rmdir \{\} \\;\
\}\
\
python do_package_prepend() \{\
if not os.path.exists(os.path.join(d.getVar('D', True), 'lib/modules')):\
bb.warn("%s: no modules were created; this may be due to CONFIG_TRACEPOINTS not being enabled in your kernel." % d.getVar('PN', True))\\}}
{\rtf1\ansi\ansicpg1252\cocoartf1404\cocoasubrtf340
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;} \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
\f0\fs24 \cf0 # Copyright (C) 2015 Hewlett Packard Enterprise Development LP\PR_append = "_openswitch"\
\
FILES_$\{PN\} = "/usr/lib"\
FILES_$\{PN\}-dev += "/usr/bin/lttng-gen-tp"}
{\rtf1\ansi\ansicpg1252\cocoartf1404\cocoasubrtf340
{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
{\colortbl;\red255\green255\blue255;} \paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 \pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0
\f0\fs24 \cf0 Upstream-Status: Inappropriate [embedded specific]\
\
lttng-modules: replace KERNELDIR with KERNEL_SRC\
\
Since lttng-modules uses the default way of module.bbclass to\
build and install lttng-modules, we do this replacement for\
it as-is.\
\
[sgw - rebased for 2.6.1]\
\
Makefile\ +8 -8
@@ -68,19 +68,19 @@ obj-m += lib/\ endif # CONFIG_TRACEPOINTS\ else # KERNELRELEASE\ - KERNELDIR ?= /lib/modules/$(shell uname -r)/build\ - PWD := $(shell pwd)\ - CFLAGS = $(EXTCFLAGS)\ -\ + KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build\ + PWD := $(shell pwd)\ + CFLAGS = $(EXTCFLAGS)\ +\ default:\ - LTTNG_KERNELDIR=$(KERNELDIR) $(MAKE) -C $(KERNELDIR) M=$(PWD) modules\ + LTTNG_KERNELDIR=$(KERNEL_SRC) $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules\ modules_install:\ - LTTNG_KERNELDIR=$(KERNELDIR) $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install\ + LTTNG_KERNELDIR=$(KERNEL_SRC) $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules_install\ clean:\ - LTTNG_KERNELDIR=$(KERNELDIR) $(MAKE) -C $(KERNELDIR) M=$(PWD) clean\ + LTTNG_KERNELDIR=$(KERNEL_SRC) $(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean\ %.i: %.c\ - LTTNG_KERNELDIR=$(KERNELDIR) $(MAKE) -C $(KERNELDIR) M=$(PWD) $@\ + LTTNG_KERNELDIR=$(KERNEL_SRC) $(MAKE) -C $(KERNEL_SRC) M=$(PWD) $@\ endif # KERNELRELEASE\
probes/Makefile\ +4 -4
@@ -267,18 +267,18 @@ endif\ endif\ else\ - KERNELDIR ?= /lib/modules/$(shell uname -r)/build\ + KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build\ PWD := $(shell pwd)\ CFLAGS = $(EXTCFLAGS)\ default:\ - $(MAKE) -C $(KERNELDIR) M=$(PWD) modules\ + $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules\ modules_install:\ - $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install\ + $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules_install\ /sbin/depmod -a\ clean:\ - $(MAKE) -C $(KERNELDIR) M=$(PWD) clean\ + $(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean\ endif}
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Hi Jonathan,
I am still encountering the similar problem, but log detail is some different. Would you try the build with this linux version and lttng-modules 2.7.x? Here is a repo that I use
[email protected]:JunhoSuh/linux-3.2.65-1-deb7u2.git
Thanks~
Quoted 190 lines · Jonathan Rajotte
Hi Junho,
Can you reproduce this with the latest 2.7 stable branch of lttng-modules or master ?
Also there is a newer release for 2.6 which is v2.6.4 so you might want to try this also.
Cheers
On Wed, Mar 30, 2016 at 9:38 PM, Junho Suh <[email protected] <mailto:[email protected]>> wrote:
Hi,I am currently building the LTTng 2.6.1 against the linux kernel 3.2.65. When building lttng-modules, I get the below error:
It seems the proper definition of "
page->index" can not be found in the right header file.
I also patch theMakefileby following the link (https://lists.lttng.org/pipermail/lttng-dev/2013-September/021322.html <https://lists.lttng.org/pipermail/lttng-dev/2013-September/021322.html>) which has similar problem, but it doesn’t work.Anybody can help me?
Thanks~
===
Log data follows:| DEBUG: Executing shell function do_compile | NOTE: make -j 2 -e MAKEFLAGS= KERNEL_SRC=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source KERNEL_PATH=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source KERNEL_VERSION=3.2.65 CC=x86_64-openswitch-linux-gcc LD=x86_64-openswitch-linux-ld.bfd AR=x86_64-openswitch-linux-ar O=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-build-artifacts | LTTNG_KERNELDIR=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source make -C /home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source M=/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git modules | make[1]: Entering directory `/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source' | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/Makefile:250: CONFIG_KALLSYMS_ALL is disabled, therefore probe "writeback" is disabled. Rebuild your kernel with this configuration option enabled in order to trace this subsystem. | CC [M] /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/lttng-probe-ext3.o | In file included from /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0, | from /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/ext3.h:902, | from /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/lttng-probe-ext3.c:49: | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h: In function '__event_probe__ext3__page_op': | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:253:24: error: dereferencing pointer to incomplete type | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:240:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(ext3__page_op, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:252:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:253:3: note: in expansion of macro 'tp_assign' | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:254:22: error: dereferencing pointer to incomplete type | tp_assign(ino, page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:240:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(ext3__page_op, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:252:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:254:3: note: in expansion of macro 'tp_assign' | tp_assign(ino, page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:255:22: error: dereferencing pointer to incomplete type | tp_assign(dev, page->mapping->host->i_sb->s_dev) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:240:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(ext3__page_op, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:252:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:255:3: note: in expansion of macro 'tp_assign' | tp_assign(dev, page->mapping->host->i_sb->s_dev) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h: In function '__event_probe__ext3_invalidatepage': | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:344:24: error: dereferencing pointer to incomplete type | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:41:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:45:9: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/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, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:111:4: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:330:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' | LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:343:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:344:3: note: in expansion of macro 'tp_assign' | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:346:37: error: dereferencing pointer to incomplete type | tp_assign(ino, (unsigned long)page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:41:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:45:9: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/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, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:111:4: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:330:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' | LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:343:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:346:3: note: in expansion of macro 'tp_assign' | tp_assign(ino, (unsigned long)page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:347:37: error: dereferencing pointer to incomplete type | tp_assign(dev, (unsigned long)page->mapping->host->i_sb->s_dev) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:41:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:45:9: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/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, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:111:4: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:330:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' | LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:343:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:347:3: note: in expansion of macro 'tp_assign' | tp_assign(dev, (unsigned long)page->mapping->host->i_sb->s_dev) | ^ | make[4]: *** [/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/lttng-probe-ext3.o] Error 1 | make[3]: *** [/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes] Error 2 | make[2]: *** [_module_/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git] Error 2 | make[1]: *** [sub-make] Error 2 | make[1]: Leaving directory `/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source' | make: *** [default] Error 2 | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/temp/log.do_compile.22702)
Quoted 11 lines
_______________________________________________
lttng-dev mailing list
[email protected] <mailto:[email protected]>
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev <https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev>Signature · 1 line
Jonathan Rajotte Julien
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi Junho,
I was unable to reproduce the problem either on OpenSwitch master or yocto Fido (1.8).
Since both project do not ship with the kernel version you provided I also took the time to test with your kernel.
A standard build with your kernel prepared for modules compilation (via "make modules_prepare") did compile with no problem whatsoever. I also replaced the kernel source from the OpenSwitch project from the standard linux-yocto-3.14.... to yours and still no problem.
Not sure if I'm missing something, I would need a more detailed step-by-step to reproduce your issue from git clone to image creation.
Cheers
Quoted 349 lines · Junho Suh
Hi Jonathan,
I am still encountering the similar problem, but log detail is some different. Would you try the build with this linux version and lttng-modules 2.7.x? Here is a repo that I use
[email protected]:JunhoSuh/linux-3.2.65-1-deb7u2.git
Thanks~
Quoted 318 lines · On Mar 31, 2016, at 10:46 AM, Jonathan Rajotte <[email protected]…
Hi Junho,
Can you reproduce this with the latest 2.7 stable branch of lttng-modules or master ?
Also there is a newer release for 2.6 which is v2.6.4 so you might want to try this also.
Cheers
On Wed, Mar 30, 2016 at 9:38 PM, Junho Suh <[email protected] <mailto:[email protected]>> wrote:
Hi, I am currently building the LTTng 2.6.1 against the linux kernel 3.2.65. When building lttng-modules, I get the below error: It seems the proper definition of "page->index" can not be found in the right header file. I also patch the Makefile by following the link (https://lists.lttng.org/pipermail/lttng-dev/2013-September/021322.html) which has similar problem, but it doesn’t work. Anybody can help me? Thanks~ === Log data follows: | DEBUG: Executing shell function do_compile | NOTE: make -j 2 -e MAKEFLAGS= KERNEL_SRC=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source KERNEL_PATH=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source KERNEL_VERSION=3.2.65 CC=x86_64-openswitch-linux-gcc LD=x86_64-openswitch-linux-ld.bfd AR=x86_64-openswitch-linux-ar O=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-build-artifacts | LTTNG_KERNELDIR=/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source make -C /home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source M=/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git modules | make[1]: Entering directory `/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source' | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/Makefile:250: CONFIG_KALLSYMS_ALL is disabled, therefore probe "writeback" is disabled. Rebuild your kernel with this configuration option enabled in order to trace this subsystem. | CC [M] /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/lttng-probe-ext3.o | In file included from /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:136:0, | from /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/ext3.h:902, | from /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/lttng-probe-ext3.c:49: | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h: In function '__event_probe__ext3__page_op': | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:253:24: error: dereferencing pointer to incomplete type | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:240:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(ext3__page_op, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:252:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:253:3: note: in expansion of macro 'tp_assign' | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:254:22: error: dereferencing pointer to incomplete type | tp_assign(ino, page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:240:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(ext3__page_op, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:252:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:254:3: note: in expansion of macro 'tp_assign' | tp_assign(ino, page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:255:22: error: dereferencing pointer to incomplete type | tp_assign(dev, page->mapping->host->i_sb->s_dev) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:240:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(ext3__page_op, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:252:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:255:3: note: in expansion of macro 'tp_assign' | tp_assign(dev, page->mapping->host->i_sb->s_dev) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h: In function '__event_probe__ext3_invalidatepage': | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:344:24: error: dereferencing pointer to incomplete type | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:41:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:45:9: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/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, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:111:4: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:330:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' | LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:343:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:344:3: note: in expansion of macro 'tp_assign' | tp_assign(index, page->index) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:346:37: error: dereferencing pointer to incomplete type | tp_assign(ino, (unsigned long)page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:41:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:45:9: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/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, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:111:4: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:330:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' | LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:343:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:346:3: note: in expansion of macro 'tp_assign' | tp_assign(ino, (unsigned long)page->mapping->host->i_ino) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:347:37: error: dereferencing pointer to incomplete type | tp_assign(dev, (unsigned long)page->mapping->host->i_sb->s_dev) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:904:2: note: in definition of macro 'LTTNG_TRACEPOINT_EVENT_CLASS_CODE' | _assign \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:154:21: note: in expansion of macro 'PARAMS' | PARAMS(_tstruct), PARAMS(_assign), PARAMS(_print)) | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:41:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_CLASS' | LTTNG_TRACEPOINT_EVENT_CLASS(map, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:45:9: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/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, \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:111:4: note: in expansion of macro 'PARAMS' | PARAMS(assign), \ | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:330:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT' | LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:343:2: note: in expansion of macro 'TP_fast_assign' | TP_fast_assign( | ^ | /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/ext3.h:347:3: note: in expansion of macro 'tp_assign' | tp_assign(dev, (unsigned long)page->mapping->host->i_sb->s_dev) | ^ | make[4]: *** [/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes/lttng-probe-ext3.o] Error 1 | make[3]: *** [/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git/probes] Error 2 | make[2]: *** [_module_/home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/git] Error 2 | make[1]: *** [sub-make] Error 2 | make[1]: Leaving directory `/home/wedge/workspace/ops-build/build/tmp/work-shared/wedge/kernel-source' | make: *** [default] Error 2 | ERROR: oe_runmake failedQuoted 15 lines
| WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_compile (log file is located at /home/wedge/workspace/ops-build/build/tmp/work/wedge-openswitch-linux/lttng-modules/2.6.1-r0/temp/log.do_compile.22702) _______________________________________________ lttng-dev mailing list [email protected] <mailto:[email protected]> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-devSignature · 1 line
Jonathan Rajotte Julien_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
Signature · 7 lines
Jonathan R. Julien Efficios _______________________________________________ lttng-dev mailing list [email protected] https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev