summaryrefslogtreecommitdiffstats
path: root/documentation/profile-manual/intro.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/profile-manual/intro.rst')
-rw-r--r--documentation/profile-manual/intro.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/documentation/profile-manual/intro.rst b/documentation/profile-manual/intro.rst
index 4e1008b05e..9c8fa3dbfa 100644
--- a/documentation/profile-manual/intro.rst
+++ b/documentation/profile-manual/intro.rst
@@ -39,12 +39,12 @@ an 'sdk' image e.g. ::
39 $ bitbake core-image-sato-sdk 39 $ bitbake core-image-sato-sdk
40 40
41or alternatively by adding 'tools-profile' to the EXTRA_IMAGE_FEATURES line in 41or alternatively by adding 'tools-profile' to the EXTRA_IMAGE_FEATURES line in
42your local.conf: :: 42your local.conf::
43 43
44 EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile" 44 EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile"
45 45
46If you use the 'tools-profile' method, you don't need to build an sdk image - 46If you use the 'tools-profile' method, you don't need to build an sdk image -
47the tracing and profiling tools will be included in non-sdk images as well e.g.: :: 47the tracing and profiling tools will be included in non-sdk images as well e.g.::
48 48
49 $ bitbake core-image-sato 49 $ bitbake core-image-sato
50 50
@@ -55,7 +55,7 @@ the tracing and profiling tools will be included in non-sdk images as well e.g.:
55 55
56 You can prevent that by setting the 56 You can prevent that by setting the
57 :term:`INHIBIT_PACKAGE_STRIP` 57 :term:`INHIBIT_PACKAGE_STRIP`
58 variable to "1" in your ``local.conf`` when you build the image: :: 58 variable to "1" in your ``local.conf`` when you build the image::
59 59
60 INHIBIT_PACKAGE_STRIP = "1" 60 INHIBIT_PACKAGE_STRIP = "1"
61 61
@@ -65,11 +65,11 @@ If you've already built a stripped image, you can generate debug
65packages (xxx-dbg) which you can manually install as needed. 65packages (xxx-dbg) which you can manually install as needed.
66 66
67To generate debug info for packages, you can add dbg-pkgs to 67To generate debug info for packages, you can add dbg-pkgs to
68EXTRA_IMAGE_FEATURES in local.conf. For example: :: 68EXTRA_IMAGE_FEATURES in local.conf. For example::
69 69
70 EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile dbg-pkgs" 70 EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile dbg-pkgs"
71 71
72Additionally, in order to generate the right type of debuginfo, we also need to 72Additionally, in order to generate the right type of debuginfo, we also need to
73set :term:`PACKAGE_DEBUG_SPLIT_STYLE` in the ``local.conf`` file: :: 73set :term:`PACKAGE_DEBUG_SPLIT_STYLE` in the ``local.conf`` file::
74 74
75 PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory' 75 PACKAGE_DEBUG_SPLIT_STYLE = 'debug-file-directory'