<?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>3167</bug_id>
          
          <creation_ts>2012-09-25 02:35:44 +0000</creation_ts>
          <short_desc>perf: annotate doesn&apos;t work</short_desc>
          <delta_ts>2012-10-08 18:05:21 +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>OE-Core</product>
          <component>kernel</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Done</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tom Zanussi">tom.zanussi</reporter>
          <assigned_to name="Tom Zanussi">tom.zanussi</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>dvhart</cc>
    
    <cc>sgw</cc>
    
    <cc>tom.zanussi</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>25634</commentid>
    <comment_count>0</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-09-25 02:35:44 +0000</bug_when>
    <thetext>Invoking perf annotate fails with the runtime errof &apos;expand: command not found&apos;.

The annotate command is implemented using a command pipeline like &quot;objdump ... -d %s %s -C %s|grep -v %s|expand&quot;, which should be installed as part of coreutils but isn&apos;t (e.g. on qemux86 core-image-sato).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25856</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-09-27 14:43:35 +0000</bug_when>
    <thetext>Tom, what is the size increase to busybox by adding expand to the default build? This will determine if we can realistically do this for 1.3 or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25871</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2012-09-27 21:02:50 +0000</bug_when>
    <thetext>The other options, which RP and I would pefer is to set the RDEPENDS for perf to either use bash or coreutils, which ever provides the &quot;expand&quot; command, that way we are not add space to busybox for a narrow usage.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25874</commentid>
    <comment_count>3</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-09-27 22:36:28 +0000</bug_when>
    <thetext>Yeah, the functionality of expand seems too minimal to even have to pull coreutils in - I&apos;ll look into providing an alternative local fix to avoid having to pull expand in at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26359</commentid>
    <comment_count>4</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-10-08 18:05:21 +0000</bug_when>
    <thetext>Fixed in master:

commit a08139b7acdc528f9f7a20e49402144c89b8eb2b
Author: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Date:   Mon Oct 8 09:54:46 2012 -0400

    linux-yocto-bsps/3.4: perf: parallel build and tools fixes

commit df9800cf087af6bae832dc60a51051bff31bce87
Author: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
Date:   Mon Oct 8 09:49:38 2012 -0400

    linux-yocto/3.4: perf: parallel build and tools fixes</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>