We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi everyone!
I am using arm ds-5 professional under evaluation license, and I am trying to collect call-graph info from my test application under arm via streamline, but faced with issue.
Collected call graph is flat, there is no hierarchy
But it should be something like this: main -> f1 -> f2
I have used all necessary options that mentions in manual: -fno-omit-frame-pointer -fno-inline and checked "Call stack unwinding"
I ran this code on remote arm machine under Ubuntu 14.04 build according to this manual https://git.linaro.org/arm/ds5/gator.git/blob/HEAD:/README_Streamline.txt
I' ve used this config options for stream line:
Could some one please explain me what i am doing wrong?
I have attached src and build.sh.
Thanks in advance
Hi dinar,
A flat or incomplete call path can occur for several reasons (several which you have already verified, but I will repeat for completeness):
The most likely cause is that the image is compiled for Thumb mode. To ensure the image is not compiled for Thumb mode, add the -marm option, as the compiler may be configured with --with-mode=thumb, thus making Thumb mode default.