* run-time function call tree displayer
@ 2001-05-09 7:43 Nicolas Devillard
0 siblings, 0 replies; only message in thread
From: Nicolas Devillard @ 2001-05-09 7:43 UTC (permalink / raw)
To: gcc
Hi:
A fairly simple tool, which might be of interest for some.
etrace makes use of the -finstrument-functions feature of
gcc to produce run-time function call trees in a separate
terminal (the tree can also be saved to a file). Here is
the kind of output you get in the first terminal, while the
program is running in another terminal:
main
| first_function
| | second_function
| | | compute
| | | compute (total: 5 times)
| | second_function
| | | compute
| | | compute (total: 5 times)
This tool requires gcc-2.95, Python 1.5 or later, and a
BSD-compatible 'nm' utility. It is all contained in 80 lines
of Python and 100 lines of C. It is public domain.
See: http://www.eso.org/~ndevilla/etrace/
Cheers
--
Nicolas
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-09 7:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-09 7:43 run-time function call tree displayer Nicolas Devillard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).