<?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>1553</bug_id>
          
          <creation_ts>2011-10-03 06:29:33 +0000</creation_ts>
          <short_desc>Tracing: perf trace scripting support</short_desc>
          <delta_ts>2012-10-17 09:36: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>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Richard Purdie">richard.purdie</reporter>
          <assigned_to name="Tom Zanussi">tom.zanussi</assigned_to>
          <cc>alexandrux.palalau</cc>
    
    <cc>dvhart</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>song.liu</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>16601</commentid>
    <comment_count>0</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-10-03 06:29:33 +0000</bug_when>
    <thetext>Basically this means allowing perf to be built with the Perl and Python bindings, which turned out to be a headache last time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16754</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2011-10-06 11:39:51 +0000</bug_when>
    <thetext>The problem I had previously was enabling the Perl and Python bindings.

The perf Makefile expects the output of the target&apos;s python-config –cflags and –ldflags invocation e.g.:

python-config --cflags –ldflags:
-I/usr/include/python2.6 -I/usr/include/python2.6 -fno-strict-aliasing -DNDEBUG

python-config –ldflags:
-L/usr/lib/python2.6/config -lpthread -ldl -lutil -lm -lpython2.6

Similarly for Perl e.g. we need the output of perl -MExtUtils::Embed -e ccopts run on the target.

Obviously we can&apos;t run it on the target during build-time, so I need to figure how to get the same thing at build time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16775</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-10-06 16:07:59 +0000</bug_when>
    <thetext>python-config should be manipulated by our binconfig.bbclass to provide the right values. The perl situation is more tricky...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18219</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-01-18 11:50:53 +0000</bug_when>
    <thetext>Moving to post 1.2, but will try and bring it in if possible.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23126</commentid>
    <comment_count>4</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-07-16 17:12:01 +0000</bug_when>
    <thetext>Implemented and pulled into poky/master and the linux-yocto 3.0/3.2/3.4 kernels.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=2dac207e392cd9d94a0812d9bba350e1d8c322eb</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26659</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2012-10-17 09:36:08 +0000</bug_when>
    <thetext>Verified on master branch, commit ID 83448c4b318ce60a54aae24a9a247456fa94caaf</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>