<?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>856</bug_id>
          
          <creation_ts>2011-03-11 14:45:45 +0000</creation_ts>
          <short_desc>[qemumips] No UST headers in sato-sdk image: upstream UST doesn&apos;t support MIPS</short_desc>
          <delta_ts>2011-05-05 09:32:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>ADT</product>
          <component>kernel analysis</component>
          <version>1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>mips</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Upstream is adding the support (27/Apr/2011) </status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jessica">jessica.zhang</reporter>
          <assigned_to name="Dexuan Cui">dexuan.cui</assigned_to>
          <cc>lianhao.lu</cc>
    
    <cc>sgw</cc>
    
    <cc>yp.sdk.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12516</commentid>
    <comment_count>0</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-03-11 14:45:45 +0000</bug_when>
    <thetext>when testing arm sato-sdk image built from the lastest bernard tree (last commit is: d16085b67b05e6c10f9e29381313e2b3370ca8ff )try to compile ust test program and got:

Fatal error: ust/marker.h: No such file or directory

And when checking the ust directory is missing from /usr/include which exists in x86 sato-sdk image.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12545</commentid>
    <comment_count>1</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-03-13 22:38:58 +0000</bug_when>
    <thetext>In poky, lttng-ust is not supported on ARM and MIPS now because upstream lttng-ust also doesn&apos;t support that. 
So this is a WONTFIX bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12548</commentid>
    <comment_count>2</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-03-13 22:45:27 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; In poky, lttng-ust is not supported on ARM and MIPS now because upstream
&gt; lttng-ust also doesn&apos;t support that. 
This is because lttng-ust depends on liburcu, that doesn&apos;t support ARM and MIPS.

&gt; So this is a WONTFIX bug.

I had a look at lttng mailing list just now and looks now liburcu can support ARMv5te of Poky -- the current version of liburcu in poky is 0.5.2 and 0.5.3 was released 10 day ago.

In next round of packaging upgrading(maybe in several weeks?), I&apos;ll try to upgrade liburu and lttng-ust.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12572</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-03-14 15:44:12 +0000</bug_when>
    <thetext>Added 1.1 target milestone</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13417</commentid>
    <comment_count>4</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-25 22:35:16 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; In poky, lttng-ust is not supported on ARM and MIPS now because upstream
&gt; &gt; lttng-ust also doesn&apos;t support that. 
&gt; This is because lttng-ust depends on liburcu, that doesn&apos;t support ARM and
&gt; MIPS.
&gt; &gt; So this is a WONTFIX bug.
&gt; I had a look at lttng mailing list just now and looks now liburcu can support
&gt; ARMv5te of Poky -- the current version of liburcu in poky is 0.5.2 and 0.5.3
&gt; was released 10 day ago.
&gt; In next round of packaging upgrading(maybe in several weeks?), I&apos;ll try to
&gt; upgrade liburu and lttng-ust.

I upgraded ust to 0.12 that can build on ARM now:
http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=b4a88a5e1c0ada5db760e52010e66f13de63adf4

Also updated task-poky-tools.bb, task-sdk-gmae.inc to enable lttng-ust for ARM:
http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?
id=320a641df18024265c3d2b3b08251a231f9fd6a0

So the only left issue is: upstream lttng-ust can&apos;t build on MIPS -- I don&apos;t think upstream ust will have the support of MIPS in the near future, so I think we can mark the bug as WON&apos;T FIX.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13436</commentid>
    <comment_count>5</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-26 18:37:13 +0000</bug_when>
    <thetext>&gt; (In reply to comment #2)
&gt; &gt; (In reply to comment #1)
&gt; &gt; &gt; In poky, lttng-ust is not supported on ARM and MIPS now because upstream
&gt; &gt; &gt; lttng-ust also doesn&apos;t support that. 
&gt; &gt; This is because lttng-ust depends on liburcu, that doesn&apos;t support ARM and
&gt; &gt; MIPS.
&gt; &gt; &gt; So this is a WONTFIX bug.
&gt; &gt; I had a look at lttng mailing list just now and looks now liburcu can support
&gt; &gt; ARMv5te of Poky -- the current version of liburcu in poky is 0.5.2 and 0.5.3
&gt; &gt; was released 10 day ago.
&gt; &gt; In next round of packaging upgrading(maybe in several weeks?), I&apos;ll try to
&gt; &gt; upgrade liburu and lttng-ust.
&gt; I upgraded ust to 0.12 that can build on ARM now:
&gt; http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=b4a88a5e1c0ada5db760e52010e66f13de63adf4
&gt; Also updated task-poky-tools.bb, task-sdk-gmae.inc to enable lttng-ust for ARM:
&gt; http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?
&gt; id=320a641df18024265c3d2b3b08251a231f9fd6a0
&gt; So the only left issue is: upstream lttng-ust can&apos;t build on MIPS -- I don&apos;t
&gt; think upstream ust will have the support of MIPS in the near future, so I think
&gt; we can mark the bug as WON&apos;T FIX.
Today in lttng mailing list I saw some patches that were trying to add the support for MIPS.
So let me reopen the bug and mark it with low priority.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13540</commentid>
    <comment_count>6</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-05-03 06:16:46 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #2)
&gt; &gt; (In reply to comment #1)
&gt; &gt; &gt; In poky, lttng-ust is not supported on ARM and MIPS now because upstream
&gt; &gt; &gt; lttng-ust also doesn&apos;t support that. 
&gt; &gt; This is because lttng-ust depends on liburcu, that doesn&apos;t support ARM and
&gt; &gt; MIPS.
&gt; &gt; &gt; So this is a WONTFIX bug.
&gt; &gt; I had a look at lttng mailing list just now and looks now liburcu can support
&gt; &gt; ARMv5te of Poky -- the current version of liburcu in poky is 0.5.2 and 0.5.3
&gt; &gt; was released 10 day ago.
&gt; &gt; In next round of packaging upgrading(maybe in several weeks?), I&apos;ll try to
&gt; &gt; upgrade liburu and lttng-ust.
&gt; I upgraded ust to 0.12 that can build on ARM now:
&gt; http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=b4a88a5e1c0ada5db760e52010e66f13de63adf4
&gt; Also updated task-poky-tools.bb, task-sdk-gmae.inc to enable lttng-ust for ARM:
&gt; http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?
&gt; id=320a641df18024265c3d2b3b08251a231f9fd6a0
Hmm, I happened to find the line in task-core-tools.bb
RDEPENDS_task-core-tools-profile_append_qemuarm = &quot; lttng-ust&quot;
was droped when the patch was accepted by poky master, not sure why...

I&apos;ll resend this piece of code.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13602</commentid>
    <comment_count>7</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-05-05 09:32:18 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c4d01fc8aa3d5823e776f4b33becfad39cfc47ef</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>