<?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>1640</bug_id>
          
          <creation_ts>2011-10-04 22:24:38 +0000</creation_ts>
          <short_desc>[DOC] Tracing/profiling HOWTOs</short_desc>
          <delta_ts>2013-03-14 10:34:01 +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>(10D+5D)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Song Liu">song.liu</reporter>
          <assigned_to name="Tom Zanussi">tom.zanussi</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>dvhart</cc>
    
    <cc>jessica.zhang</cc>
    
    <cc>mhalstead</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</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>16711</commentid>
    <comment_count>0</comment_count>
    <who name="Song Liu">song.liu</who>
    <bug_when>2011-10-04 22:24:38 +0000</bug_when>
    <thetext>Create a document or extend the current Yocto tracing wiki page to explain in detail how to use all the tracing tools in Yocto. It should detail not only how to use each tool individually, but also how to use them in conjunction with each other, highlighting situations in which each is most useful. There should also be some extensive worked examples of real-life use-cases and how they could be investigated using the Yocto tracing/profiling tools.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16758</commentid>
    <comment_count>1</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2011-10-06 11:50:44 +0000</bug_when>
    <thetext>We have all these great tracing and profiling tools in Yocto, but it&apos;s not clear how and when to use them – we need to remedy that.

The Tracing and Profiling section on the wiki is a start (https://wiki.yoctoproject.org/wiki/Tracing_and_Profiling), but it should really have a section in the Yocto Developer&apos;s Manual.

We shouldn&apos;t be trying to be a primer on tracing and profiling, just an overview of what&apos;s available in Yocto and basic usage.  Small examples covering each use case.

Beyond the basics, a well-chosen end-to-end example or two that makes use of all the tools would be especially useful.  One area that I think would be especially fruitful would be graphics:

- Covers both kernel and user space
- Very complex, tracing it would be educational
- People are really interested in graphics performance
- Could be an area for upstreaming (perf scripts)
- The kernel is already instrumented, or at least i915 is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25482</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-09-20 15:13:55 +0000</bug_when>
    <thetext>The current plan is to complete these post code-freeze as they are to be published via the wiki. They will still make the 1.3 release time-frame.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26364</commentid>
    <comment_count>3</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-10-08 18:15:30 +0000</bug_when>
    <thetext>Bumping to M5.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27459</commentid>
    <comment_count>4</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-11-15 05:05:52 +0000</bug_when>
    <thetext>The finished version can be found here:

https://wiki.yoctoproject.org/wiki/Tracing_and_Profiling</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30672</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-03-13 10:49:36 +0000</bug_when>
    <thetext>Verified as per last comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30691</commentid>
    <comment_count>6</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-03-14 10:34:01 +0000</bug_when>
    <thetext>verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>