</section>
</section>
+<!--
<section id="platdev-oprofile">
<title>Profiling with OProfile</title>
<para>
<literallayout class='monospaced'>
- # opcontrol --reset
- # opcontrol --start --separate=lib --no-vmlinux -c 5
+ # opcontrol ‐‐reset
+ # opcontrol ‐‐start ‐‐separate=lib ‐‐no-vmlinux -c 5
.
.
[do whatever is being profiled]
.
.
- # opcontrol --stop
+ # opcontrol ‐‐stop
$ opreport -cl
</literallayout>
</para>
five levels deep.
<note>
To profile the kernel, you would specify the
- <filename>--vmlinux=/path/to/vmlinux</filename> option.
+ <filename>‐‐vmlinux=/path/to/vmlinux</filename> option.
The <filename>vmlinux</filename> file is usually in the source directory in the
<filename>/boot/</filename> directory and must match the running kernel.
</note>
With this connection, you just need to run "oprofile-server" on the device.
By default, OProfile listens on port 4224.
<note>
- You can change the port using the <filename>--port</filename> command-line
+ You can change the port using the <filename>‐‐port</filename> command-line
option.
</note>
</para>
If network access to the target is unavailable, you can generate
an archive for processing in <filename>oprofile-viewer</filename> as follows:
<literallayout class='monospaced'>
- # opcontrol --reset
- # opcontrol --start --separate=lib --no-vmlinux -c 5
+ # opcontrol ‐‐reset
+ # opcontrol ‐‐start ‐‐separate=lib ‐‐no-vmlinux -c 5
.
.
[do whatever is being profiled]
.
.
- # opcontrol --stop
+ # opcontrol ‐‐stop
# oparchive -o my_archive
</literallayout>
</para>
</section>
</section>
</section>
+-->
<section id='maintaining-open-source-license-compliance-during-your-products-lifecycle'>
<title>Maintaining Open Source License Compliance During Your Product's Lifecycle</title>
Yocto already has some information on setting up and using
OProfile and oprofileui. As this document doesn't cover
everything in detail, it may be worth taking a look at the
- "<ulink url='&YOCTO_DOCS_DEV_URL;#platdev-oprofile'>Profiling with OProfile</ulink>"
- section in the Yocto Project Development Manual
+ Yocto Project Development Manual
</para>
<para>