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] ################################
This is due to an incompatible change between 3.19 kernel and crosstap, an upgrade is pending that will fix this. *** This bug has been marked as a duplicate of bug 7401 ***
Closing since it's duplicated