<?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>9263</bug_id>
          
          <creation_ts>2016-03-15 15:43:38 +0000</creation_ts>
          <short_desc>oprofile not available in tools-profile anymore</short_desc>
          <delta_ts>2016-03-15 16:20:59 +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>core</component>
          <version>2.0.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <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="Robert Berger">pokylinux</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59974</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2016-03-15 15:43:38 +0000</bug_when>
    <thetext>In the meantime I just added a packagegroup-core-tools-profile.bbappend:


# add oprofile, which got lost in jethro

RRECOMMENDS_${PN}_append = &quot;\
    kernel-module-oprofile \
    &quot;

PROFILETOOLS_append = &quot;\
    oprofile \
    &quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59975</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-03-15 15:53:28 +0000</bug_when>
    <thetext>This was intentional:

commit 949734502f9daf56a7ca5e294df762d0e583e4f1
Author: Philip Balister &lt;philip@balister.org&gt;
Date:   Mon Jun 1 16:17:22 2015 -0400

    packagegroup-core-tools-profile.bb: Remove oprofile.

    Oprofile functions duplicate perf. Since perf is easier to use drop oprofile
    from the core-tools-profile package.

    Also, the oprofile-ui package opens a port on the device. removing this
    package reduces a possible security issue for devices with profiling tools.

    (From OE-Core rev: 17b3e8ec13a51442416a4065638e7636916fb804)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59976</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2016-03-15 16:20:59 +0000</bug_when>
    <thetext>OK - thanks Philip.

So I guess we&apos;ll need to update the manual.

I just saw what you said mentioned as well in the manual[1], but there is still the oprofile example here[2] and various references to tools-profile, which claim the oprofile is still part of it like:

&quot;tools-profile: Installs profiling tools such as oprofile, exmap, and LTTng. For general information on user-space tools, see the &quot;User-Space Tools&quot; section in the Yocto Project Application Developer&apos;s Guide.&quot;

and 

&quot;To use OProfile, you need an image that has OProfile installed. The easiest way to do this is with &quot;tools-profile&quot; in the IMAGE_FEATURES variable.&quot;

&quot;&quot;tools-profile&quot; - Adds profiling tools such as oprofile,
                  exmap, lttng and valgrind (x86 only).&quot;

just search for tools-profile in the latest mega-manual

[1] http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#migration-2.0-miscellaneous

[2] http://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#profile-manual-oprofile</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>