diff options
| -rw-r--r-- | documentation/profile-manual/profile-manual-intro.xml | 6 | ||||
| -rw-r--r-- | documentation/profile-manual/profile-manual-usage.xml | 13 |
2 files changed, 12 insertions, 7 deletions
diff --git a/documentation/profile-manual/profile-manual-intro.xml b/documentation/profile-manual/profile-manual-intro.xml index cc47f5267b..d38d61a820 100644 --- a/documentation/profile-manual/profile-manual-intro.xml +++ b/documentation/profile-manual/profile-manual-intro.xml | |||
| @@ -67,8 +67,10 @@ | |||
| 67 | By default, the Yocto build system strips symbols from the | 67 | By default, the Yocto build system strips symbols from the |
| 68 | binaries it packages, which makes it difficult to use some | 68 | binaries it packages, which makes it difficult to use some |
| 69 | of the tools. | 69 | of the tools. |
| 70 | </para><para>You can prevent that by putting the following | 70 | </para><para>You can prevent that by setting the |
| 71 | in your local.conf when you build the image: | 71 | <ulink url='&YOCTO_DOCS_REF_URL;#var-INHIBIT_PACKAGE_STRIP'><filename>INHIBIT_PACKAGE_STRIP</filename></ulink> |
| 72 | variable to "1" in your | ||
| 73 | <filename>local.conf</filename> when you build the image: | ||
| 72 | </para> | 74 | </para> |
| 73 | </note> | 75 | </note> |
| 74 | <literallayout class='monospaced'> | 76 | <literallayout class='monospaced'> |
diff --git a/documentation/profile-manual/profile-manual-usage.xml b/documentation/profile-manual/profile-manual-usage.xml index 310e8f01c5..c0873e13ab 100644 --- a/documentation/profile-manual/profile-manual-usage.xml +++ b/documentation/profile-manual/profile-manual-usage.xml | |||
| @@ -60,8 +60,11 @@ | |||
| 60 | 60 | ||
| 61 | <para> | 61 | <para> |
| 62 | In particular, you'll get the most mileage out of perf if you | 62 | In particular, you'll get the most mileage out of perf if you |
| 63 | profile an image built with INHIBIT_PACKAGE_STRIP = "1" in your | 63 | profile an image built with the following in your |
| 64 | local.conf. | 64 | <filename>local.conf</filename> file: |
| 65 | <literallayout class='monospaced'> | ||
| 66 | <ulink url='&YOCTO_DOCS_REF_URL;#var-INHIBIT_PACKAGE_STRIP'>INHIBIT_PACKAGE_STRIP</ulink> = "1" | ||
| 67 | </literallayout> | ||
| 65 | </para> | 68 | </para> |
| 66 | 69 | ||
| 67 | <para> | 70 | <para> |
| @@ -355,10 +358,10 @@ | |||
| 355 | </para> | 358 | </para> |
| 356 | 359 | ||
| 357 | <para> | 360 | <para> |
| 358 | One way around that is to put the following in your local.conf | 361 | One way around that is to put the following in your |
| 359 | when you build the image: | 362 | <filename>local.conf</filename> file when you build the image: |
| 360 | <literallayout class='monospaced'> | 363 | <literallayout class='monospaced'> |
| 361 | INHIBIT_PACKAGE_STRIP = "1" | 364 | <ulink url='&YOCTO_DOCS_REF_URL;#var-INHIBIT_PACKAGE_STRIP'>INHIBIT_PACKAGE_STRIP</ulink> = "1" |
| 362 | </literallayout> | 365 | </literallayout> |
| 363 | However, we already have an image with the binaries stripped, | 366 | However, we already have an image with the binaries stripped, |
| 364 | so what can we do to get perf to resolve the symbols? Basically | 367 | so what can we do to get perf to resolve the symbols? Basically |
