Profiling and generating call graphs

A

Andrea Crotti

I'm trying to use the wonderful [1] gprof2dot to generate graphs of
function calls.

And I think I'm missing something because I don't get all the possible
calls and the percent of time used.
I added all the possible options found like
gcc -pg -g (when compiling)

And for gprof and gprof2dot
gprof --static-call-graph -m 0 $PROG | $GPROF2DOT -e0.01 -n0.01

But still I don't get anything really that makes sense.
Any idea?
Thanks


Footnotes:

[1] http://code.google.com/p/jrfonseca/wiki/Gprof2Dot
 
A

Andrea Crotti

I'm trying to use the wonderful [1] gprof2dot to generate graphs of
function calls.

And I think I'm missing something because I don't get all the possible
calls and the percent of time used.
I added all the possible options found like
gcc -pg -g (when compiling)

And for gprof and gprof2dot
gprof --static-call-graph -m 0 $PROG | $GPROF2DOT -e0.01 -n0.01

But still I don't get anything really that makes sense.
Any idea?
Thanks


Footnotes:

[1] http://code.google.com/p/jrfonseca/wiki/Gprof2Dot

Nobody using gprof?
Maybe could you suggest something else to generate nice call graphs from
code execution?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top