diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-03-25 11:37:16 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-04-06 23:11:57 +0100 |
commit | d94fa00ab5280d4afbc33c4a11f0c8eea34dc247 (patch) | |
tree | 38b2676904c60c8e899d38cc6dcd4e3524a3194f /documentation | |
parent | 4f3dfa808cf6dbdf32169efc391455ebffdf6766 (diff) | |
download | poky-d94fa00ab5280d4afbc33c4a11f0c8eea34dc247.tar.gz |
dev-manual, profile-manual: Removed oprofile section and link
Fixes [YOCTO #9264]
I commented out a large section that had to do with running
oprofile. Also, located and removed the link to that section
from the profile-manual.
(From yocto-docs rev: 63d6e754f994693c9a4d4b8211c6ef5f817c31f7)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 18 | ||||
-rw-r--r-- | documentation/profile-manual/profile-manual-usage.xml | 3 |
2 files changed, 11 insertions, 10 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index ce843127e7..204ef0ef0f 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -9604,6 +9604,7 @@ | |||
9604 | </section> | 9604 | </section> |
9605 | </section> | 9605 | </section> |
9606 | 9606 | ||
9607 | <!-- | ||
9607 | <section id="platdev-oprofile"> | 9608 | <section id="platdev-oprofile"> |
9608 | <title>Profiling with OProfile</title> | 9609 | <title>Profiling with OProfile</title> |
9609 | 9610 | ||
@@ -9665,14 +9666,14 @@ | |||
9665 | 9666 | ||
9666 | <para> | 9667 | <para> |
9667 | <literallayout class='monospaced'> | 9668 | <literallayout class='monospaced'> |
9668 | # opcontrol --reset | 9669 | # opcontrol ‐‐reset |
9669 | # opcontrol --start --separate=lib --no-vmlinux -c 5 | 9670 | # opcontrol ‐‐start ‐‐separate=lib ‐‐no-vmlinux -c 5 |
9670 | . | 9671 | . |
9671 | . | 9672 | . |
9672 | [do whatever is being profiled] | 9673 | [do whatever is being profiled] |
9673 | . | 9674 | . |
9674 | . | 9675 | . |
9675 | # opcontrol --stop | 9676 | # opcontrol ‐‐stop |
9676 | $ opreport -cl | 9677 | $ opreport -cl |
9677 | </literallayout> | 9678 | </literallayout> |
9678 | </para> | 9679 | </para> |
@@ -9685,7 +9686,7 @@ | |||
9685 | five levels deep. | 9686 | five levels deep. |
9686 | <note> | 9687 | <note> |
9687 | To profile the kernel, you would specify the | 9688 | To profile the kernel, you would specify the |
9688 | <filename>--vmlinux=/path/to/vmlinux</filename> option. | 9689 | <filename>‐‐vmlinux=/path/to/vmlinux</filename> option. |
9689 | The <filename>vmlinux</filename> file is usually in the source directory in the | 9690 | The <filename>vmlinux</filename> file is usually in the source directory in the |
9690 | <filename>/boot/</filename> directory and must match the running kernel. | 9691 | <filename>/boot/</filename> directory and must match the running kernel. |
9691 | </note> | 9692 | </note> |
@@ -9748,7 +9749,7 @@ | |||
9748 | With this connection, you just need to run "oprofile-server" on the device. | 9749 | With this connection, you just need to run "oprofile-server" on the device. |
9749 | By default, OProfile listens on port 4224. | 9750 | By default, OProfile listens on port 4224. |
9750 | <note> | 9751 | <note> |
9751 | You can change the port using the <filename>--port</filename> command-line | 9752 | You can change the port using the <filename>‐‐port</filename> command-line |
9752 | option. | 9753 | option. |
9753 | </note> | 9754 | </note> |
9754 | </para> | 9755 | </para> |
@@ -9838,14 +9839,14 @@ | |||
9838 | If network access to the target is unavailable, you can generate | 9839 | If network access to the target is unavailable, you can generate |
9839 | an archive for processing in <filename>oprofile-viewer</filename> as follows: | 9840 | an archive for processing in <filename>oprofile-viewer</filename> as follows: |
9840 | <literallayout class='monospaced'> | 9841 | <literallayout class='monospaced'> |
9841 | # opcontrol --reset | 9842 | # opcontrol ‐‐reset |
9842 | # opcontrol --start --separate=lib --no-vmlinux -c 5 | 9843 | # opcontrol ‐‐start ‐‐separate=lib ‐‐no-vmlinux -c 5 |
9843 | . | 9844 | . |
9844 | . | 9845 | . |
9845 | [do whatever is being profiled] | 9846 | [do whatever is being profiled] |
9846 | . | 9847 | . |
9847 | . | 9848 | . |
9848 | # opcontrol --stop | 9849 | # opcontrol ‐‐stop |
9849 | # oparchive -o my_archive | 9850 | # oparchive -o my_archive |
9850 | </literallayout> | 9851 | </literallayout> |
9851 | </para> | 9852 | </para> |
@@ -9860,6 +9861,7 @@ | |||
9860 | </section> | 9861 | </section> |
9861 | </section> | 9862 | </section> |
9862 | </section> | 9863 | </section> |
9864 | --> | ||
9863 | 9865 | ||
9864 | <section id='maintaining-open-source-license-compliance-during-your-products-lifecycle'> | 9866 | <section id='maintaining-open-source-license-compliance-during-your-products-lifecycle'> |
9865 | <title>Maintaining Open Source License Compliance During Your Product's Lifecycle</title> | 9867 | <title>Maintaining Open Source License Compliance During Your Product's Lifecycle</title> |
diff --git a/documentation/profile-manual/profile-manual-usage.xml b/documentation/profile-manual/profile-manual-usage.xml index 6a5657b241..1359c82522 100644 --- a/documentation/profile-manual/profile-manual-usage.xml +++ b/documentation/profile-manual/profile-manual-usage.xml | |||
@@ -2746,8 +2746,7 @@ | |||
2746 | Yocto already has some information on setting up and using | 2746 | Yocto already has some information on setting up and using |
2747 | OProfile and oprofileui. As this document doesn't cover | 2747 | OProfile and oprofileui. As this document doesn't cover |
2748 | everything in detail, it may be worth taking a look at the | 2748 | everything in detail, it may be worth taking a look at the |
2749 | "<ulink url='&YOCTO_DOCS_DEV_URL;#platdev-oprofile'>Profiling with OProfile</ulink>" | 2749 | Yocto Project Development Manual |
2750 | section in the Yocto Project Development Manual | ||
2751 | </para> | 2750 | </para> |
2752 | 2751 | ||
2753 | <para> | 2752 | <para> |