Obtaining subroutine executed from optimized a.out file
Obtaining subroutine executed from optimized a.out file
quarkz's picture   I have compiled and build my cfd code,
getting an a.out in the end.  I have done some revisions on my
source code and I can't remember what I have changed.  Now, is
it possible to see how "looked inside" the old a.out file to
check which subroutines are used and executed?  What tools can I
use? Also, the a.out was built using -O3, -ipo.   4 posts / 0
new Last post Tim Prince's picture Best Reply  With a profiler
such as VTune or oprofile, you should be able to get a fair idea
of time spent in various subroutines. The -ipo will prevent you
from seeing some of the callees separate from their caller. You
will see at best only the assembly code.  jimdempseyatthecove's
picture  When multi-file IPO is enabled the assembly output is
inhibited (at least on Windows). You can use VTune as you say
and then obtain Assembly code which you can copy and paste into
another document (a few lines