This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: HELP: finding the finishing point of the execution from gprof output
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