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.
- Turns on the debug symbols necessary for quality analysis reports.
- Disables inlining and substantially improves the call path quality.
- Compiles your EABI images and libraries with frame pointers. This enables
Streamline to record the call stack with each sample taken.
- When building for ARMv7 and earlier, this option is required if GCC was
compiled with the
--with-mode=thumb option enabled. Using the
-marm breaks call stack unwinding in Streamline.
NoteStreamline 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).