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. Use the Capture & Analysis Options dialog box to specify the ELF files created using this option to profile in a Streamline session.
- 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 is
compiled with the
--with-mode=thumboption enabled. Using the
-marmbreaks 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