diff options
Diffstat (limited to 'documentation/profile-manual')
-rw-r--r-- | documentation/profile-manual/profile-manual-intro.rst | 4 | ||||
-rw-r--r-- | documentation/profile-manual/profile-manual-usage.rst | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/documentation/profile-manual/profile-manual-intro.rst b/documentation/profile-manual/profile-manual-intro.rst index d4d0ba4dc8..5d51df74dc 100644 --- a/documentation/profile-manual/profile-manual-intro.rst +++ b/documentation/profile-manual/profile-manual-intro.rst | |||
@@ -51,7 +51,7 @@ well e.g.: $ bitbake core-image-sato | |||
51 | it packages, which makes it difficult to use some of the tools. | 51 | it packages, which makes it difficult to use some of the tools. |
52 | 52 | ||
53 | You can prevent that by setting the | 53 | You can prevent that by setting the |
54 | ```INHIBIT_PACKAGE_STRIP`` <&YOCTO_DOCS_REF_URL;#var-INHIBIT_PACKAGE_STRIP>`__ | 54 | :term:`INHIBIT_PACKAGE_STRIP` |
55 | variable to "1" in your ``local.conf`` when you build the image: | 55 | variable to "1" in your ``local.conf`` when you build the image: |
56 | 56 | ||
57 | INHIBIT_PACKAGE_STRIP = "1" The above setting will noticeably increase | 57 | INHIBIT_PACKAGE_STRIP = "1" The above setting will noticeably increase |
@@ -64,6 +64,6 @@ To generate debug info for packages, you can add dbg-pkgs to | |||
64 | EXTRA_IMAGE_FEATURES in local.conf. For example: EXTRA_IMAGE_FEATURES = | 64 | EXTRA_IMAGE_FEATURES in local.conf. For example: EXTRA_IMAGE_FEATURES = |
65 | "debug-tweaks tools-profile dbg-pkgs" Additionally, in order to generate | 65 | "debug-tweaks tools-profile dbg-pkgs" Additionally, in order to generate |
66 | the right type of debuginfo, we also need to set | 66 | the right type of debuginfo, we also need to set |
67 | ```PACKAGE_DEBUG_SPLIT_STYLE`` <&YOCTO_DOCS_REF_URL;#var-PACKAGE_DEBUG_SPLIT_STYLE>`__ | 67 | :term:`PACKAGE_DEBUG_SPLIT_STYLE` |
68 | in the ``local.conf`` file: PACKAGE_DEBUG_SPLIT_STYLE = | 68 | in the ``local.conf`` file: PACKAGE_DEBUG_SPLIT_STYLE = |
69 | 'debug-file-directory' | 69 | 'debug-file-directory' |
diff --git a/documentation/profile-manual/profile-manual-usage.rst b/documentation/profile-manual/profile-manual-usage.rst index a2206cc829..b97a1c6e96 100644 --- a/documentation/profile-manual/profile-manual-usage.rst +++ b/documentation/profile-manual/profile-manual-usage.rst | |||
@@ -50,7 +50,7 @@ outlined in the General Setup section. | |||
50 | 50 | ||
51 | In particular, you'll get the most mileage out of perf if you profile an | 51 | In particular, you'll get the most mileage out of perf if you profile an |
52 | image built with the following in your ``local.conf`` file: | 52 | image built with the following in your ``local.conf`` file: |
53 | `INHIBIT_PACKAGE_STRIP <&YOCTO_DOCS_REF_URL;#var-INHIBIT_PACKAGE_STRIP>`__ | 53 | :term:`INHIBIT_PACKAGE_STRIP` |
54 | = "1" | 54 | = "1" |
55 | 55 | ||
56 | perf runs on the target system for the most part. You can archive | 56 | perf runs on the target system for the most part. You can archive |
@@ -246,7 +246,7 @@ system. | |||
246 | 246 | ||
247 | One way around that is to put the following in your ``local.conf`` file | 247 | One way around that is to put the following in your ``local.conf`` file |
248 | when you build the image: | 248 | when you build the image: |
249 | `INHIBIT_PACKAGE_STRIP <&YOCTO_DOCS_REF_URL;#var-INHIBIT_PACKAGE_STRIP>`__ | 249 | :term:`INHIBIT_PACKAGE_STRIP` |
250 | = "1" However, we already have an image with the binaries stripped, so | 250 | = "1" However, we already have an image with the binaries stripped, so |
251 | what can we do to get perf to resolve the symbols? Basically we need to | 251 | what can we do to get perf to resolve the symbols? Basically we need to |
252 | install the debuginfo for the busybox package. | 252 | install the debuginfo for the busybox package. |
@@ -256,7 +256,7 @@ dbg-pkgs to EXTRA_IMAGE_FEATURES in local.conf. For example: | |||
256 | EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile dbg-pkgs" | 256 | EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile dbg-pkgs" |
257 | Additionally, in order to generate the type of debuginfo that perf | 257 | Additionally, in order to generate the type of debuginfo that perf |
258 | understands, we also need to set | 258 | understands, we also need to set |
259 | ```PACKAGE_DEBUG_SPLIT_STYLE`` <&YOCTO_DOCS_REF_URL;#var-PACKAGE_DEBUG_SPLIT_STYLE>`__ | 259 | :term:`PACKAGE_DEBUG_SPLIT_STYLE` |
260 | in the ``local.conf`` file: PACKAGE_DEBUG_SPLIT_STYLE = | 260 | in the ``local.conf`` file: PACKAGE_DEBUG_SPLIT_STYLE = |
261 | 'debug-file-directory' Once we've done that, we can install the | 261 | 'debug-file-directory' Once we've done that, we can install the |
262 | debuginfo for busybox. The debug packages once built can be found in | 262 | debuginfo for busybox. The debug packages once built can be found in |