diff options
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 18 |
1 files changed, 10 insertions, 8 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> |