If you successfully complete a capture session but have a problem with the resulting report data, consult this list of common issues.
Make sure that you use the -g option during compilation. To match instructions to source code, Streamline must have debug symbols turned on.
If necessary, ensure that the path prefix substitutions are set correctly. See the Path Prefix Substitutions dialog box in the Code view.
Add the libraries using the Capture Settings dialog box.
In the Program Images section, click Add image.
Navigate to your shared library, and select the required file.
Click Open.
Use the GCC options -fno-omit-frame-pointer and -marm during compilation. -marm is only required for Arm®v7 and earlier architectures. Also, check the Call stack unwinding option in the Capture Settings dialog box.
If frame pointers are set correctly, the disassembly of the code contains instructions in the form add fp,sp,#<n> at the start of functions. To generate a disassembly, use the following command:
arm-linux-gnueabihf-objdump -d <foo>.so
Note
By default, Streamline does not walk the stack for kernels or loadable kernel modules. These generate flat data in the Call Paths view.
Streamline does not walk the stack for statically linked drivers.
This problem can be because of code inlining that is done by the compiler. To turn inlining off, add -fno-inline as an option during compilation.
Also, check that your debug symbols are correct.
Check if the TailCall Optimization (TCO) compiler flag is enabled. Enabling TCO prevents Streamline from unwinding the call stack correctly. For more information about TCO, see Overview of optimizations in the Arm Compiler Optimization guide.
To display the functions in the correct thread, disable TCO, then recapture the Streamline profile.
If you still need help with your capture, send the gator-log.txt file, along with your capture, to the support team. The log file is in the same directory as the capture, and is available after the capture has finished. It records basic debugging and support information, such as errors, warnings, and information about the device.
If you are using Streamline as part of Arm Performance Studio, contact Arm at performancestudio@arm.com.
If you are using Streamline as part of Arm Development Studio, open an Arm Support case.
To create a gator-log.txt file for a local capture, enable the --capture-log command line option.