Created attachment 2432 [details] basic test stp script When testing crosstap on M3-RC1 (poky 40d80f9e019118ac7bcd268f21e350bc154a4a63) on qemuarm/qemupcc, we have encountered the following errors: $ ./crosstap root@192.168.7.2 HelloWorld.stp poky/scripts poky/scripts poky/scripts In file included from poky/build/tmp/sysroots/x86_64-linux/usr/share/systemtap/runtime/linux/task_finder.c:17:0, from poky/build/tmp/sysroots/x86_64-linux/usr/share/systemtap/runtime/linux/runtime.h:214, from poky/build/tmp/sysroots/x86_64-linux/usr/share/systemtap/runtime/runtime.h:24, from /tmp/stap5jhxxF/HelloWorld_src.c:31: poky/build/tmp/sysroots/x86_64-linux/usr/share/systemtap/runtime/linux/task_finder2.c: In function '__stp_call_mmap_callbacks_with_addr': poky/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; ^ poky/build/tmp/sysroots/x86_64-linux/usr/share/systemtap/runtime/linux/task_finder2.c: In function '__stp_call_mmap_callbacks_for_task': poky/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/stap5jhxxF/HelloWorld_src.o] Error 1 make[2]: *** [_module_/tmp/stap5jhxxF] 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] Same issue occurs when executing trace_open.stp. Test host was Ubuntu 14.04 LTS, x86_64.
Seems to be a dup, more info in 7401 *** This bug has been marked as a duplicate of bug 7401 ***