From c70b6e8a426d884da1b6d24a1dc95be0cee5f8a7 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 19 Mar 2014 08:30:01 -0600 Subject: dev-manual: Read-thru edits to "Profiling with OProfile" Minor edits. (From yocto-docs rev: 551127f3afa65f36bf9baf21d0ca3e53a2fbb3c1) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 0f8df85486..871f0a0711 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -6487,23 +6487,23 @@ This profiler provides answers to questions like "Which functions does my application spend the most time in when doing X?" Because the OpenEmbedded build system is well integrated with OProfile, it makes profiling - applications on target hardware straightforward. + applications on target hardware straight forward. For more information on how to set up and run OProfile, see the - "OProfile" + "oprofile" section in the Yocto Project Profiling and Tracing Manual. To use OProfile, you need an image that has OProfile installed. - The easiest way to do this is with tools-profile in the + The easiest way to do this is with "tools-profile" in the IMAGE_FEATURES variable. You also need debugging symbols to be available on the system where the analysis takes place. - You can gain access to the symbols by using dbg-pkgs in the + You can gain access to the symbols by using "dbg-pkgs" in the IMAGE_FEATURES variable or by - installing the appropriate -dbg packages. + installing the appropriate DBG (-dbg) packages. @@ -6531,7 +6531,7 @@ Profiling on the Target - Using OProfile you can perform all the profiling work on the target device. + Using OProfile, you can perform all the profiling work on the target device. A simple OProfile session might look like the following: @@ -6627,7 +6627,7 @@ The client program is called oprofile-viewer and its UI is relatively - straightforward. + straight forward. You access key functionality through the buttons on the toolbar, which are duplicated in the menus. Here are the buttons: @@ -6657,7 +6657,7 @@ - The client downloads the complete 'profile archive' from + The client downloads the complete profile archive from the target to the host for processing. This archive is a directory that contains the sample data, the object files, and the debug information for the object files. @@ -6695,9 +6695,9 @@ All that is needed is a copy of the filesystem with the debug symbols present on the viewer system. The "Launch GDB on the Host Computer" - section covers how to create such a directory with - the Source Directory - and how to use the OProfileUI Settings Dialog to specify the location. + section covers how to create such a directory within + the source directory and how to use the OProfileUI Settings + Dialog to specify the location. If you specify the directory, it will be used when the file checksums match those on the system you are profiling. -- cgit v1.2.3-54-g00ecf