| Summary: |
crosstap doesn't work on qemuppc with 1.8 M3 rc3 build |
| Product: |
[Build System, Metadata & Runtime] OE-Core
|
Reporter: |
Yi Zhao <yi.zhao> |
| Component: |
kernel | Assignee: |
Tom Zanussi <tom.zanussi> |
| Status: |
VERIFIED
DUPLICATE
|
QA Contact: |
Yi Zhao <yi.zhao> |
| Severity: |
normal
|
|
|
| Priority: |
Undecided
|
CC: |
alexandru.c.georgescu, bruce.ashfield, dvhart, ke.zou, sgw, tom.zanussi, zhangle.yang
|
| Version: |
1.8 | |
|
| Target Milestone: |
--- | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
Regression (Used to work)
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
Git rev: master/5c1c8af083ca7b57cc339d16ce0513b27c5dac90 Steps: 1. Create the trace_open.stp script: probe syscall.open { printf ("%s(%d) open (%s)\n", execname(), pid(), argstr) } 2. Build core-image-sato-sdk image for qemuppc and boot up 3. Run "crosstap root@192.168.7.2 trace_open.stp" I got the following error: ######################### $ crosstap root@192.168.7.2 trace_open.stp /buildarea/jenkins-yocto/workspace/kernel_module_compilation_crosstap/build /buildarea/jenkins-yocto/workspace/kernel_module_compilation_crosstap/build /buildarea/jenkins-yocto/workspace/kernel_module_compilation_crosstap/build In file included from /buildarea/jenkins-yocto/workspace/kernel_module_compilation_crosstap/build/tmp/sysroots/x86_64-linux/usr/share/systemtap/runtime/linux/task_finder.c:17:0, from /buildarea/jenkins-yocto/workspace/kernel_module_compilation_crosstap/build/tmp/sysroots/x86_64-linux/usr/share/systemtap/runtime/linux/runtime.h:214, from /buildarea/jenkins-yocto/workspace/kernel_module_compilation_crosstap/build/tmp/sysroots/x86_64-linux/usr/share/systemtap/runtime/runtime.h:24, from /tmp/stapk1HJ0u/trace_open_src.c:31: /buildarea/jenkins-yocto/workspace/kernel_module_compilation_crosstap/build/tmp/sysroots/x86_64-linux/usr/share/systemtap/runtime/linux/task_finder2.c: In function '__stp_call_mmap_callbacks_with_addr': /buildarea/jenkins-yocto/workspace/kernel_module_compilation_crosstap/build/tmp/sysroots/x86_64-linux/usr/share/systemtap/runtime/linux/task_finder2.c:695:24: error: 'struct file' has no member named 'f_dentry' dentry = vma->vm_file->f_dentry; ^ /buildarea/jenkins-yocto/workspace/kernel_module_compilation_crosstap/build/tmp/sysroots/x86_64-linux/usr/share/systemtap/runtime/linux/task_finder2.c: In function '__stp_call_mmap_callbacks_for_task': /buildarea/jenkins-yocto/workspace/kernel_module_compilation_crosstap/build/tmp/sysroots/x86_64-linux/usr/share/systemtap/runtime/linux/task_finder2.c:1198:42: error: 'struct file' has no member named 'f_dentry' vma_cache_p->dentry = vma->vm_file->f_dentry; ^ make[3]: *** [/tmp/stapk1HJ0u/trace_open_src.o] Error 1 make[2]: *** [_module_/tmp/stapk1HJ0u] Error 2 make[1]: *** [sub-make] Error 2 make: *** [__sub-make] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compilation failed. [man error::pass4] ################################