<?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>7400</bug_id>
          
          <creation_ts>2015-03-05 13:20:13 +0000</creation_ts>
          <short_desc>Crosstap fails when running on qemuarm/qemupcc</short_desc>
          <delta_ts>2015-03-05 15:35:25 +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>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>7401</dup_id>
          
          <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="Stefan Sicleru">stefan.sicleru</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</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>49208</commentid>
    <comment_count>0</comment_count>
      <attachid>2432</attachid>
    <who name="Stefan Sicleru">stefan.sicleru</who>
    <bug_when>2015-03-05 13:20:13 +0000</bug_when>
    <thetext>Created attachment 2432
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 &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>49220</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-03-05 15:35:25 +0000</bug_when>
    <thetext>Seems to be a dup, more info in 7401

*** This bug has been marked as a duplicate of bug 7401 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>2432</attachid>
            <date>2015-03-05 13:20:13 +0000</date>
            <delta_ts>2015-03-05 13:20:13 +0000</delta_ts>
            <desc>basic test stp 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>
      

    </bug>

</bugzilla>