<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>5640</bug_id>
          
          <creation_ts>2013-12-06 13:13:25 +0000</creation_ts>
          <short_desc>systemtap output is useless in Juno</short_desc>
          <delta_ts>2014-08-28 12:03:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Eclipse Plugin</product>
          <component>eclipse-plugin</component>
          <version>1.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Cristiana Voicu">cristiana.voicu</assigned_to>
          <cc>andrax.g.necula</cc>
    
    <cc>ioanax.grigoropol</cc>
    
    <cc>yp.ep.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          <qa_contact name="Andra Necula">andrax.g.necula</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>39272</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-12-06 13:13:25 +0000</bug_when>
    <thetext>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 &quot;aaa&quot;
        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 (&quot;%s(%d) open (%s)\n&quot;, 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 (&quot;/etc/ld.so.cache&quot;, O_RDONLY|O_CLOEXEC)
bash(1077) open (&quot;/lib/tls/x86_64/libtinfo.so.5&quot;, O_RDONLY|O_CLOEXEC)
bash(1077) open (&quot;/lib/tls/libtinfo.so.5&quot;, O_RDONLY|O_CLOEXEC)
bash(1077) open (&quot;/lib/x86_64/libtinfo.so.5&quot;, O_RDONLY|O_CLOEXEC)
bash(1077) open (&quot;/lib/libtinfo.so.5&quot;, O_RDONLY|O_CLOEXEC)
bash(1077) open (&quot;/lib/libdl.so.2&quot;, O_RDONLY|O_CLOEXEC)
bash(1077) open (&quot;/lib/libc.so.6&quot;, O_RDONLY|O_CLOEXEC)
bash(1077) open (00000000004aa341, O_RDWR|O_NONBLOCK)
bash(1077) open (&quot;/proc/meminfo&quot;, O_RDONLY|O_CLOEXEC)
bash(1077) open (&quot;cont.sh&quot;, O_RDONLY)



ACTUAL RESULT
4. The output doesn&apos;t contain the output from expected results ^^^:



### Shell environment set up for builds. ###



You can now run &apos;bitbake &lt;target&gt;&apos;



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 &apos;runqemu qemux86&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39273</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-12-06 13:15:15 +0000</bug_when>
    <thetext>The commits specified in the description are wrong:

The behavior happens in JUNO:
eclipse-poky-juno e8342d27db60a9d1b627ddb9f8ae2f5512bfc0c9
poky c51730aaa91066cfb51ad6ec2920fb4f9d9ea94c</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42228</commentid>
    <comment_count>2</comment_count>
    <who name="Cristiana Voicu">cristiana.voicu</who>
    <bug_when>2014-04-03 14:02:13 +0000</bug_when>
    <thetext>This is a Juno bug, so I will close it. The Juno support will continue mainly for 1.4.*.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45301</commentid>
    <comment_count>3</comment_count>
    <who name="Andra Necula">andrax.g.necula</who>
    <bug_when>2014-08-28 12:03:03 +0000</bug_when>
    <thetext>Verified with 
eclipse-poky-kepler: 4a167fd662262ebdaa3cf0d332ac0debb52d7904
poky: 52b788c6df9201764130ab744bf67b770b24b896
Ubuntu 14.04
x86_64
Cheers! Andra N.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>