<?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>9264</bug_id>
          
          <creation_ts>2016-03-15 16:30:20 +0000</creation_ts>
          <short_desc>Remove mentions of oprofile</short_desc>
          <delta_ts>2016-05-12 14:58:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>General Docs</product>
          <component>docs-general</component>
          <version>2.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>15 April 2016: IN PROGRESS REVIEW</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</reporter>
          <assigned_to name="Scott Rifenbark">srifenbark</assigned_to>
          <cc>richard.purdie</cc>
    
    <cc>srifenbark</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>59977</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-03-15 16:30:20 +0000</bug_when>
    <thetext>In 2.0 we removed oprofile and oprofileui from the tools-profile packagegroup but there are still plenty of references to it.  Quoting from another bug report:

----

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

-----

Some of the sections will be harder to rewrite (eg how to profile using oprofile) but we can at least remove oprofile from the tools-profile summaries for example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60357</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-03-23 18:07:15 +0000</bug_when>
    <thetext>Hi, 

I sent Ross Burton an email with the &quot;tools-profile&quot; hits throughout the YP doc set.  I need some clarification on each of them.  

Thanks,
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60852</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-04-06 17:30:49 +0000</bug_when>
    <thetext>Ross,

Here are the spots I need some help on:

DEV-MANUAL

* http://www.yoctoproject.org/docs/2.1/dev-manual/dev-manual.html#structure-your-layers - Can we just dump the example?  Or, do we want to replace with a new code example?  If so, I need an example.

* http://www.yoctoproject.org/docs/2.1/dev-manual/dev-manual.html#usingpoky-extend-customimage-customtasks - I need something else here to fill in the package-group-custom-tools.  Right now it is heavy with &quot;oprofile.&quot;

* http://www.yoctoproject.org/docs/2.1/dev-manual/dev-manual.html#platdev-appdev-srcrev - this section makes reference to the poky/meta-poky/conf/distro/include/poky-floating-revisions.inc file.  The section shows some lines from that actual file, which is http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-poky/conf/distro/include/poky-floating-revisions.inc.  I can just remove that line but the bigger question would be all the occurrences of &quot;oprofile&quot; in that actual file.

PROFILE-MANUAL

* http://www.yoctoproject.org/docs/2.1/profile-manual/profile-manual.html#profile-manual-oprofile - This is a major section in the manual.  Do we just delete it?  The section contains 4 subsections (3.4.1 through 3.4.4) and has figures I would need to get out of the manual&apos;s build scripts.

* http://www.yoctoproject.org/docs/2.1/profile-manual/profile-manual.html#profile-manual-general-setup - This is a reference to adding &quot;tools-profile&quot;.  What do we do with it?

* http://www.yoctoproject.org/docs/2.1/profile-manual/profile-manual.html#using-perf-to-do-basic-profiling - Way down in this section is another reference to &quot;tools-profile&quot;.  I don&apos;t know the relationship between &quot;oprofile&quot; and &quot;tools-profile&quot;.  Not sure what to do with this occurrence.

* http://www.yoctoproject.org/docs/2.1/profile-manual/profile-manual.html#systemtap-setup - Other references in the example output to &quot;tools-profile&quot; and in some of the explanations.  I don&apos;t know what to do with these.

REF-MANUAL

* http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#ref-features-image - There is a &quot;tools-profile&quot; entry in the list.  What do we do about this?

SDK-MANUAL

* http://www.yoctoproject.org/docs/2.1/sdk-manual/sdk-manual.html#user-space-tools - I am just removing oprofile as one of the listed user-space tools.

* http://www.yoctoproject.org/docs/2.1/sdk-manual/sdk-manual.html#running-user-space-tools - Again, here I am just removing the bulleted item for oprofile.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61288</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-04-15 15:55:37 +0000</bug_when>
    <thetext>Inserting my own comments inline on the easy points:

DEV-MANUAL

* http://www.yoctoproject.org/docs/2.1/dev-manual/dev-manual.html#structure-your-layers - Can we just dump the example?  Or, do we want to replace with a new code example?  If so, I need an example.

Replace with gnutls:
DEPENDS_append_libc-musl = &quot; argp-standalone&quot;

(adds dependencies on argp-standalone when building with the musl C library)

* http://www.yoctoproject.org/docs/2.1/dev-manual/dev-manual.html#usingpoky-extend-customimage-customtasks - I need something else here to fill in the package-group-custom-tools.  Right now it is heavy with &quot;oprofile.&quot;

As this is a contrived example, I&apos;d say we can keep this.

* http://www.yoctoproject.org/docs/2.1/dev-manual/dev-manual.html#platdev-appdev-srcrev - this section makes reference to the poky/meta-poky/conf/distro/include/poky-floating-revisions.inc file.  The section shows some lines from that actual file, which is http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta-poky/conf/distro/include/poky-floating-revisions.inc.  I can just remove that line but the bigger question would be all the occurrences of &quot;oprofile&quot; in that actual file.

Agreed, remove the line.  I&apos;ll send a patch to update that file, it&apos;s very out of date now.

REF-MANUAL

* http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#ref-features-image - There is a &quot;tools-profile&quot; entry in the list.  What do we do about this?

Replace oprofile with &quot;perf&quot;, and exmap with SystemTap (exmap was removed some time ago).

SDK-MANUAL

Removals are all good.

The profiling manual will need more work, I&apos;ll do that next.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61291</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-04-15 16:03:48 +0000</bug_when>
    <thetext>PROFILE-MANUAL

* http://www.yoctoproject.org/docs/2.1/profile-manual/profile-manual.html#profile-manual-oprofile - This is a major section in the manual.  Do we just delete it?  The section contains 4 subsections (3.4.1 through 3.4.4) and has figures I would need to get out of the manual&apos;s build scripts.

Just delete it, perf replaces oprofile and we have a section on perf.

* http://www.yoctoproject.org/docs/2.1/profile-manual/profile-manual.html#profile-manual-general-setup - This is a reference to adding &quot;tools-profile&quot;.  What do we do with it?

tools-profile is a group of packages that used to include oprofile but still includes perf and other packages, so keep this.

* http://www.yoctoproject.org/docs/2.1/profile-manual/profile-manual.html#using-perf-to-do-basic-profiling - Way down in this section is another reference to &quot;tools-profile&quot;.  I don&apos;t know the relationship between &quot;oprofile&quot; and &quot;tools-profile&quot;.  Not sure what to do with this occurrence.

As above, keep.

* http://www.yoctoproject.org/docs/2.1/profile-manual/profile-manual.html#systemtap-setup - Other references in the example output to &quot;tools-profile&quot; and in some of the explanations.  I don&apos;t know what to do with these.

As above, keep.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61294</commentid>
    <comment_count>5</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2016-04-15 17:21:20 +0000</bug_when>
    <thetext>Ross, 

Addressed the ones I needed to.  If you want to check them do so quickly as my deadline for changes on the docs is today. 

Thanks, 
Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>