Setting Up Your Target
ARM DUI 0482K
Copyright © 2010-2012 ARM. All rights reserved.
2-10
ID120712
Non-Confidential
2.3
Recommended compiler options
When building executables for profiling using Streamline, it is best practice to use the following
compiler options:
-g
Turns on the debug symbols necessary for quality Analysis Reports. Compile
using this option to create the elf files for your host. use the Capture options
dialog box to point Streamline to these elf files. For more information, see
-fno-inline
Disables inlining. This compiler setting substantially improves the call path
quality.
-fno-omit-frame-pointer
Compiles your EABI images and libraries with frame pointers. This enables
Streamline to record the call stack with each sample taken.
-marm
This option is required if you compile your code with the
--with-mode=thumb
option enabled. Using the
--with-mode=thumb
option without
-marm
breaks call
stack unwinding in Streamline.
Note
Streamline does not support Thumb or output from
armcc
.
2.3.1
See also
Tasks
•
Reference
•
•