In the summer of 1997, while using gprof to study the performance of Tcl/Tk 8.0, I discovered a number of problems with the existing version of the code. A month-long effort ensued, during which I repaired many unworking features (including line-by-line profiling and annotated source listings), revised the gprof manual, and packaged this new and improved gprof as part of the GNU binutils package. I've submitted this code to FSF, and it will probably be included in a subsequent release of binutils, but here is an advance copy.
Brent Baccala
baccala@FreeSoft.org
November 1, 1997
Note: These changes have since been incorporated into the latest version of gprof, available from Project GNU.