1.16 Recommended compiler options

When building executables for profiling using Streamline, it is best practice to use the GCC compiler options listed in this topic.

-g
Turns on the debug symbols necessary for quality analysis reports.
-fno-inline
Disables inlining and 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
When building for ARMv7 and earlier, this option is required if GCC was compiled 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 call stack unwinding for T32 (Thumb®) code. It also does not support call stack unwinding for code generated by ARM Compiler version 5 and earlier (armcc).
Related tasks
1.9 Running the gator daemon on your target
Non-ConfidentialPDF file icon PDF versionARM DUI0482U
Copyright © 2010-2015 ARM. All rights reserved.