diff options
Diffstat (limited to 'documentation')
-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 @@ By default, the Yocto build system strips symbols from the binaries it packages, which makes it difficult to use some of the tools. - </para><para>You can prevent that by putting the following - in your local.conf when you build the image: + </para><para>You can prevent that by setting the + <ulink url='&YOCTO_DOCS_REF_URL;#var-INHIBIT_PACKAGE_STRIP'><filename>INHIBIT_PACKAGE_STRIP</filename></ulink> + variable to "1" in your + <filename>local.conf</filename> when you build the image: </para> </note> <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 @@ <para> In particular, you'll get the most mileage out of perf if you - profile an image built with INHIBIT_PACKAGE_STRIP = "1" in your - local.conf. + profile an image built with the following in your + <filename>local.conf</filename> file: + <literallayout class='monospaced'> + <ulink url='&YOCTO_DOCS_REF_URL;#var-INHIBIT_PACKAGE_STRIP'>INHIBIT_PACKAGE_STRIP</ulink> = "1" + </literallayout> </para> <para> @@ -355,10 +358,10 @@ </para> <para> - One way around that is to put the following in your local.conf - when you build the image: + One way around that is to put the following in your + <filename>local.conf</filename> file when you build the image: <literallayout class='monospaced'> - INHIBIT_PACKAGE_STRIP = "1" + <ulink url='&YOCTO_DOCS_REF_URL;#var-INHIBIT_PACKAGE_STRIP'>INHIBIT_PACKAGE_STRIP</ulink> = "1" </literallayout> However, we already have an image with the binaries stripped, so what can we do to get perf to resolve the symbols? Basically |