Finding a profiler that works, damnit
Finding a profiler that works, damnit
Posted Mar 24, 2010 2:15 UTC (Wed) by foom (subscriber, #14868)In reply to: Finding a profiler that works, damnit by chantecode
Parent article: KVM, QEMU, and kernel project management
http://www.cs.utah.edu/dept/old/texinfo/as/gprof.html#SEC6
Or this:
http://oprofile.sourceforge.net/doc/opreport.html (section 2.3. Callgraph output)
The important points being that it shows, linearly, a section of output for every function, sorted by
time (inclusive of subroutines). Each section includes, in addition to the line for the function itself,
1) above the function's line: who called it
2) below the function's line: who it calls
Maybe your method is better for some uses, but I can't quite get my ahead around how to
use it, even after your explanation of what it means. I don't expect I'm unique in this regard, since
basically all callgraph profilers I've seen work the same way.
