| Summary: |
systemtap output is useless in Juno |
| Product: |
[Yocto Project Subprojects] Eclipse Plugin
|
Reporter: |
Alexandru Georgescu <alexandru.c.georgescu> |
| Component: |
eclipse-plugin | Assignee: |
Cristiana Voicu <cristiana.voicu> |
| Status: |
VERIFIED
FIXED
|
QA Contact: |
Andra Necula <andrax.g.necula> |
| Severity: |
normal
|
|
|
| Priority: |
Medium
|
CC: |
andrax.g.necula, ioanax.grigoropol, yp.ep.watcher, yp.watcher
|
| Version: |
1.6 | |
|
| Target Milestone: |
1.6 | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
eclipse-poky-kepler 3dd620d9f89e297ee9e22d5ba9fe741a5f40ac82 poky c51730aaa91066cfb51ad6ec2920fb4f9d9ea94c STEPS TO REPRODUCE 1. Build a core-image-sato-sdk for qemux86-64 and boot it. 2. create a script and run it in the qemu: root@qemux86-64:~# cat cont.sh #!/bin/bash while : do echo "aaa" sleep 1 done root@qemux86-64:~# 3. Launch eclipse (kepler) with plugin installed and run systemtap script: ubu@ubu-v:~/Downloads$ cat ~/Documents/trace.stp probe syscall.open { printf ("%s(%d) open (%s)\n", execname(), pid(), argstr) } probe timer.ms(4000) # after 4 seconds { exit () } ubu@ubu-v:~/ 4. Check the console output in Eclipse EXPECTED RESULTS: 4. Systemtap runs the crosstap script, and the output should be something like: bu@ubu-v:/media/ubu/240/poky/build$ crosstap root@192.168.7.4 ~/Documents/trace.stp /media/ubu/240/poky/build /media/ubu/240/poky/build /media/ubu/240/poky/build bash(1077) open ("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) bash(1077) open ("/lib/tls/x86_64/libtinfo.so.5", O_RDONLY|O_CLOEXEC) bash(1077) open ("/lib/tls/libtinfo.so.5", O_RDONLY|O_CLOEXEC) bash(1077) open ("/lib/x86_64/libtinfo.so.5", O_RDONLY|O_CLOEXEC) bash(1077) open ("/lib/libtinfo.so.5", O_RDONLY|O_CLOEXEC) bash(1077) open ("/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) bash(1077) open ("/lib/libc.so.6", O_RDONLY|O_CLOEXEC) bash(1077) open (00000000004aa341, O_RDWR|O_NONBLOCK) bash(1077) open ("/proc/meminfo", O_RDONLY|O_CLOEXEC) bash(1077) open ("cont.sh", O_RDONLY) ACTUAL RESULT 4. The output doesn't contain the output from expected results ^^^: ### Shell environment set up for builds. ### You can now run 'bitbake <target>' Common targets are: core-image-minimal core-image-sato meta-toolchain meta-toolchain-sdk adt-installer meta-ide-support You can also run generated qemu images with a command like 'runqemu qemux86'