<?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>4017</bug_id>
          
          <creation_ts>2013-03-12 10:05:26 +0000</creation_ts>
          <short_desc>crosstap and stap fail in core-image-sato-sdk (danny)</short_desc>
          <delta_ts>2014-01-14 10:19:08 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stoicescu Cornel">corneliux.stoicescu</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <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>30644</commentid>
    <comment_count>0</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-03-12 10:05:26 +0000</bug_when>
    <thetext>branch: danny
commit: 955827af15f611189c66850fd077de344e1285c3

1.Create the trace_open.stp script as follows:
 

probe syscall.open
{
        printf (&quot;%s(%d) open (%s)\n&quot;, execname(), pid(), argstr)
}

2.Bitbake a core-image-sato-sdk image and start it under qemu.
3.Make sure that the ssh service is started on the Qemu machine.
4.From the host machine poky build_dir, run &quot;crosstap root@192.168.7.2 trace_open.stp&quot;.

The script should successfully connect to the qemu machine and there should be presented a list of services(pid, process name) which run on the qemu machine.


Output:

[stefans@firebird yotta]$ crosstap root@192.168.7.2 trace_open.stp 
~/yocto/builds/yotta ~/yocto/builds/yotta
~/yocto/builds/yotta
Checking &quot;/lib/modules/3.4.24-yocto-standard/build/.config&quot; failed with error: No such file or directory
[stefans@firebird yotta]$ 

NOTE: This issue was fixed in master: bug 3756</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30645</commentid>
    <comment_count>1</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-03-12 11:24:24 +0000</bug_when>
    <thetext>This issue is not present when building the image without sstate. Test Case updated: https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=319

Closing as NOTABUG.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39788</commentid>
    <comment_count>2</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2014-01-14 10:19:08 +0000</bug_when>
    <thetext>Setting to Verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>