<?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>7401</bug_id>
          
          <creation_ts>2015-03-05 13:21:10 +0000</creation_ts>
          <short_desc>Crosstap fails when running on qemuarm/qemupcc</short_desc>
          <delta_ts>2015-04-01 10:00:14 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>General Runtime</product>
          <component>General Runtime</component>
          <version>1.8</version>
          <rep_platform>x86</rep_platform>
          <op_sys>arm</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.8 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Stefan Sicleru">stefan.sicleru</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>yi.zhao</cc>
          
          <qa_contact name="Alexandru Georgescu">alexandru.c.georgescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>49210</commentid>
    <comment_count>0</comment_count>
    <who name="Stefan Sicleru">stefan.sicleru</who>
    <bug_when>2015-03-05 13:21:10 +0000</bug_when>
    <thetext>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 &apos;__stp_call_mmap_callbacks_with_addr&apos;:
poky/build/tmp/sysroots/x86_64-linux/usr/share/systemtap/runtime/linux/task_finder2.c:695:24: error: &apos;struct file&apos; has no member named &apos;f_dentry&apos;
   dentry = vma-&gt;vm_file-&gt;f_dentry;
                        ^
poky/build/tmp/sysroots/x86_64-linux/usr/share/systemtap/runtime/linux/task_finder2.c: In function &apos;__stp_call_mmap_callbacks_for_task&apos;:
poky/build/tmp/sysroots/x86_64-linux/usr/share/systemtap/runtime/linux/task_finder2.c:1198:42: error: &apos;struct file&apos; has no member named &apos;f_dentry&apos;
        vma_cache_p-&gt;dentry = vma-&gt;vm_file-&gt;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49211</commentid>
    <comment_count>1</comment_count>
      <attachid>2433</attachid>
    <who name="Stefan Sicleru">stefan.sicleru</who>
    <bug_when>2015-03-05 13:21:49 +0000</bug_when>
    <thetext>Created attachment 2433
basic test script</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49212</commentid>
    <comment_count>2</comment_count>
      <attachid>2434</attachid>
    <who name="Stefan Sicleru">stefan.sicleru</who>
    <bug_when>2015-03-05 13:22:33 +0000</bug_when>
    <thetext>Created attachment 2434
trace open stp script</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49221</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-03-05 15:35:25 +0000</bug_when>
    <thetext>*** Bug 7400 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49299</commentid>
    <comment_count>4</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-03-09 14:24:00 +0000</bug_when>
    <thetext>*** Bug 7412 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49333</commentid>
    <comment_count>5</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-03-10 14:57:00 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=38cdb72362656eb05bf08063047b2ee2a6c20fa9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50018</commentid>
    <comment_count>6</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2015-04-01 10:00:14 +0000</bug_when>
    <thetext>Verified with 1.8 M4 RC1

Crosstap works well on qemuppc. but for qemuarm, the bug 6156 still exists.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>2433</attachid>
            <date>2015-03-05 13:21:49 +0000</date>
            <delta_ts>2015-03-05 13:21:49 +0000</delta_ts>
            <desc>basic test script</desc>
            <filename>HelloWorld.stp</filename>
            <type>application/octet-stream</type>
            <size>68</size>
            <attacher name="Stefan Sicleru">stefan.sicleru</attacher>
            
              <data encoding="base64">IyEgL3Vzci9iaW4vZW52IHN0YXAKcHJvYmUgYmVnaW4geyBwcmludGxuKCJoZWxsbyB3b3JsZCIp
IGV4aXQgKCkgfQo=
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>2434</attachid>
            <date>2015-03-05 13:22:33 +0000</date>
            <delta_ts>2015-03-05 13:22:33 +0000</delta_ts>
            <desc>trace open stp script</desc>
            <filename>trace_open.stp</filename>
            <type>application/octet-stream</type>
            <size>132</size>
            <attacher name="Stefan Sicleru">stefan.sicleru</attacher>
            
              <data encoding="base64">cHJvYmUgc3lzY2FsbC5vcGVuCnsKICAgICAgICBwcmludGYgKCIlcyglZCkgb3BlbiAoJXMpXG4i
LCBleGVjbmFtZSgpLCBwaWQoKSwgYXJnc3RyKQp9Cgpwcm9iZSB0aW1lci5tcyg0MDAwMCkKewog
ICAgICAgIGV4aXQgKCkKfQoK
</data>

          </attachment>
      

    </bug>

</bugzilla>