HELP: finding the finishing point of the execution from gprof output

Ben Elliston bje@au.ibm.com
Tue Jun 15 00:01:00 GMT 2004


Ian Lance Taylor <ian@wasabisystems.com> writes:

> >   I am using gprof to profile the gcc compiler.i am getting huge profiles
> >   .how can I find out where the execution started and where it ended, from
> >   the profiler output.i didn't find that information in the gprof
> >   documentation.can anyone help me figure this out.thank you in advance
> 
> Profiling doesn't tell you where execution starts or stops.

The graph profile can provide limited information.  The answer to the
original poster's question seems too easy, though: execution starts at
main() and ends at exit() :-)

Ben



More information about the Binutils mailing list