diff options
Diffstat (limited to 'documentation/profile-manual')
| -rw-r--r-- | documentation/profile-manual/intro.rst | 4 | ||||
| -rw-r--r-- | documentation/profile-manual/usage.rst | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/documentation/profile-manual/intro.rst b/documentation/profile-manual/intro.rst index 86310cf318..3179125524 100644 --- a/documentation/profile-manual/intro.rst +++ b/documentation/profile-manual/intro.rst | |||
| @@ -43,7 +43,7 @@ an ``sdk`` image, perhaps one of:: | |||
| 43 | Alternatively, you can add ``tools-profile`` to the :term:`EXTRA_IMAGE_FEATURES` line in | 43 | Alternatively, you can add ``tools-profile`` to the :term:`EXTRA_IMAGE_FEATURES` line in |
| 44 | your ``local.conf`` file:: | 44 | your ``local.conf`` file:: |
| 45 | 45 | ||
| 46 | EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile" | 46 | EXTRA_IMAGE_FEATURES:append = " tools-profile" |
| 47 | 47 | ||
| 48 | If you use the ``tools-profile`` method, you don't need to build an sdk image --- | 48 | If you use the ``tools-profile`` method, you don't need to build an sdk image --- |
| 49 | the tracing and profiling tools will be included in non-sdk images as well e.g.:: | 49 | the tracing and profiling tools will be included in non-sdk images as well e.g.:: |
| @@ -69,7 +69,7 @@ packages (xxx-dbg) which you can manually install as needed. | |||
| 69 | To generate debug info for packages, you can add ``dbg-pkgs`` to | 69 | To generate debug info for packages, you can add ``dbg-pkgs`` to |
| 70 | :term:`EXTRA_IMAGE_FEATURES` in ``local.conf``. For example:: | 70 | :term:`EXTRA_IMAGE_FEATURES` in ``local.conf``. For example:: |
| 71 | 71 | ||
| 72 | EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile dbg-pkgs" | 72 | EXTRA_IMAGE_FEATURES:append = " dbg-pkgs" |
| 73 | 73 | ||
| 74 | Additionally, in order to generate the right type of debug info, we also need to | 74 | Additionally, in order to generate the right type of debug info, we also need to |
| 75 | set :term:`PACKAGE_DEBUG_SPLIT_STYLE` in the ``local.conf`` file:: | 75 | set :term:`PACKAGE_DEBUG_SPLIT_STYLE` in the ``local.conf`` file:: |
diff --git a/documentation/profile-manual/usage.rst b/documentation/profile-manual/usage.rst index 17be149580..d17b256d0f 100644 --- a/documentation/profile-manual/usage.rst +++ b/documentation/profile-manual/usage.rst | |||
| @@ -308,7 +308,7 @@ install the debugging information for the BusyBox package. | |||
| 308 | To generate the debug info for the packages in the image, we can add | 308 | To generate the debug info for the packages in the image, we can add |
| 309 | ``dbg-pkgs`` to :term:`EXTRA_IMAGE_FEATURES` in ``local.conf``. For example:: | 309 | ``dbg-pkgs`` to :term:`EXTRA_IMAGE_FEATURES` in ``local.conf``. For example:: |
| 310 | 310 | ||
| 311 | EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile dbg-pkgs" | 311 | EXTRA_IMAGE_FEATURES:append = " dbg-pkgs" |
| 312 | 312 | ||
| 313 | Additionally, in order to generate the type of debugging information that perf | 313 | Additionally, in order to generate the type of debugging information that perf |
| 314 | understands, we also need to set :term:`PACKAGE_DEBUG_SPLIT_STYLE` | 314 | understands, we also need to set :term:`PACKAGE_DEBUG_SPLIT_STYLE` |
