aboutsummaryrefslogtreecommitdiff
path: root/gprof
AgeCommit message (Collapse)AuthorFilesLines
1993-02-28 * gprof.c (funcsymbol): Invert test for aflag.Per Bothner2-1/+5
1993-02-26 * printgprof (xmalloc, xrealloc): Cast results of mallocPer Bothner2-2/+7
and realloc to PTR.
1993-02-13gprof, not gprog. typoDavid D. Zuhn1-1/+1
1993-02-13keep gprof.texi, remove RCS cruftDavid D. Zuhn1-1/+1
1993-02-03added rules for info, install-info, and dvi; rule for clean is correct, tooJeffrey Osier2-5/+36
1993-01-29freshly updated -- gprof.texi is an edit of the old `gprof.texinfo' byJeffrey Osier2-4/+1042
Richard Stallman and Jay Fenalson. Probably 90% of the text is theirs.
1993-01-24Add a usage statement if an unrecognized option is given.Sean Eric Fagan1-0/+7
1993-01-06fix install ruleDavid D. Zuhn2-1/+5
1992-12-08recording file deathK. Richard Pixley10-1150/+0
1992-10-09Eckhard Rueggeberg throught gprof didn't work because the man page was wrong.Mark Eichin2-4/+17
The SYNOPSIS now matches the rest of the man page.
1992-10-06 * gen-c-prog.awk: New awk script, lightly changed fromPer Bothner8-9/+293
previously deleted make-c-prog.awk. Converts a text file to a c function that prints that text. * flat_bl.m, fsf_callg_bl.m, bsd_callg_bl.m: New files. Inputs to gen-c-prog.awk, containing text describing gprof output. * blurbs.c: Removed. Use *_bl.c instead. * Makefile.in: Use gen-cprog.awk to generate *_bl.c files from *_bl.m files. Also, improve *clean rules. * printgprof.c (printgprof): Usw new function names from *_bl.c.
1992-08-31 * gprof.h, gprof.c, printfgprof.c: Add support for twoPer Bothner7-217/+416
output styles: The default is similar to the old FSF gprof, while -T sets the variable bsd_style_output, which causes output matching Berkeley's gprof. The biggest differences are that with the FSF style output, the flat profile comes before the call graph; numbers come before explanations; and there is less gratuitous white space. * gprof.h, gprof.c, printfgprof.c: New discard_underscores variable causes discarding of initial underscores when printing symbol names. It is set unless there is a "main" symbol (without an underscore). * printfgprof.c: New function printnameonly(), called by printname(). It handles stripping of initial '_', as well as C++ name-demangling. * gprof.callg, gprof.flat, make-c-prog.awk: Removed. It is just as convenient to edit blurbs.c directly. * Makefile.in: Removed rule for making blurbs.c. * blurbs.c: This is now a true source file (as opposed to being generated from gprof.callg and gprof.flat). Change style to use one long string literal, instead of one literal per output line. Add FSF-style blurb for call graph.
1992-08-27correct use of bfd symbolsMark Eichin1-4/+0
1992-08-19Brought forward from p3:Ian Lance Taylor2-0/+10
Wed Aug 19 14:36:39 1992 Ian Lance Taylor (ian@cygnus.com) * Makefile.in: always create installation directories.
1992-08-12per explanation from zoo, back out DESTDIR change.Mark Eichin2-3/+2
1992-08-12 * Makefile.in: change ${MACHINE} to $(MACHINE), add $(DESTDIR) toMark Eichin2-2/+7
bin install rule.
1992-07-20don't install gprof.{callg,flat}, install the man page, get the newDavid D. Zuhn3-140/+122
man page from progressive (the one that uses -man macros)
1992-07-14... and make it return the *right* value when it goes out of bounds.Mark Eichin1-1/+1
1992-07-14leave fencepost condition *completely* open-ended. Closes 1286.Mark Eichin1-1/+1
1992-07-13LintJohn Gilmore1-1/+1
1992-07-13* config/mt-{tahoe,vax}: Add, to match existing support files.John Gilmore3-0/+33
* config/tmake-*: Remove leftover crud.
1992-07-13* configure.in: Remove host section, expand target section.John Gilmore3-14/+13
1992-07-13OopsJohn Gilmore1-0/+20
1992-07-13 * blurbs.c: New file, created from gprof.flat and gprof.callg byJohn Gilmore5-38/+222
* make-c-prog.awk: which processes text files into C programs. * printgprof.c (flatprofheader, gprofheader): Call new functions to print blurbs. (printblurb): Remove. * Makefile.in: Infrastructure to build blurbs. * pathnames.h: has been removed. Gprof now has no filename dependencies in it. * gprof.c: Lint. Sat Jul 11 18:07:21 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com) * Makefile.in: define man1dir and install the man page Fri Jul 10 21:14:08 1992 david d `zoo' zuhn (zoo@cygnus.com) * Makefile.in: added dummy info and install-info targets
1992-07-01restore some old code to punt symbols which are BSF_LOCAL (needed for Solaris,Mark Eichin1-2/+0
should be correct for anything else.)
1992-06-04change pathnames from /usr/share/misc to /usr/local/lib. They should *really*Mark Eichin1-2/+2
get built by configure, someday.
1992-06-04add real install, and some more normal paths.Mark Eichin1-4/+18
1992-06-04Thu Jun 4 11:34:02 1992 Mark Eichin (eichin at cygnus.com)Mark Eichin3-0/+55
* lookup.c: fixed fencepost in nllookup and added dbg_nllookup for help in debugging the problem (with -DDEBUG) * gprof.c: symbol values are now real values, don't add the vma anymore. (done for solaris; should verify this on other platforms) * ChangeLog: created.
1992-06-04added srcdir=. so that configure puts in a valueMark Eichin1-2/+13
added explicit foo.o:foo.c lines since Solaris has the same VPATH bug that SunOs 4.1.1 does...
1992-06-02Makefile.in: .c.o rule needed, default one (under solaris) ignores CFLAGSMark Eichin4-9/+31
Makefile: it shouldn't be under cvs; given that it is, fix it too arcs.c: fprintf used where printf should have been. lookup.c: misdeclared calloc; use a cast instead.
1992-04-07Added the file.Sean Eric Fagan1-0/+56
1992-03-27More cleanups for gprof, especially with the '386 target.Sean Eric Fagan2-4/+10
1992-03-08This is the third and final batch of makefile changes this round.K. Richard Pixley1-0/+3
These are Makefiles that do not participate in progressive yet have still been brought current. * added exec_prefix * default bindir now exec_prefix/bin * default libdir now exec_prefix/lib * default mandir now prefix/man * default infodir now prefix/info * added oldincludedir, default NULL * remove all traces of the old -subdirs and -namesubdir support, including code, for loops, and all subdir/unsubdir stuff. * remove old style staging targets {de-}stage[1234], comparison, bootstrapN, from all but the bootstrappable tools. * added check targets. * removed any "Last Mod" lines. * forced copyrights to '92 and shifted some from Cygnus to FSF. * added tooldir and program_prefix where needed. * updated texinfo and man pages, removed all references to multiple hosts or targets.
1992-03-06Routines for currently-unsupported architectures. findcall() just returnsSean Eric Fagan2-0/+61
in dummy.c, and dummy.h mostly contains copyright. (These were originally the hp300 files from the UCBerkeley net2 tape.)
1992-03-06For currently-unsupported machines. Causes a null-routine to be calledSean Eric Fagan1-0/+1
for some of the subroutine tracing stuff.
1992-03-06Fixed a typo in an if statement -- gcc caught it ('=' vs. '==').Sean Eric Fagan1-3/+2
1992-03-06Fixed bugs (both typos and algorithmic) bugs. It now matches native gprof'sSean Eric Fagan2-33/+31
on both the sparc (SunOS) and Mach386 systems, more or less. (The differences are at least partially due to what I think might be bugs in the native gprof.)
1992-03-06Fixed some serious bugs in the configuration of gprof. It now works withSean Eric Fagan2-7/+10
the latest bfd and company.
1992-02-11Updating gprof for latest bfd stuff, and making configure work.Sean Eric Fagan2-3/+21
1991-11-08Initial revisionSean Eric Fagan2-0/+2
1991-10-02no more configure on which to dependK. Richard Pixley1-1/+1
1991-07-24Initial revisionSean Eric Fagan1-0/+1
1991-07-23Initial revisionSean Eric Fagan1-0/+1
1991-07-23Initial revisionSean Eric Fagan3-0/+717
1991-07-22Put in a check to make sure symbols have names; if there is no name, thenSean Eric Fagan1-0/+3
the symbol is not a function (I assume).
1991-07-22Made gprof use bfd instead. This is the first step in allowing cross-hostedSean Eric Fagan2-113/+125
gprof use.
1991-07-22Added bfd support to the makefile.Sean Eric Fagan1-1/+3
1991-07-22Fixed a typo (no '/' before a '*' in a comment)Sean Eric Fagan1-1/+1
1991-07-19Fixed a stupid error (used '+=' instead of '=').Sean Eric Fagan1-2/+2
1991-07-19Initial revisionSean Eric Fagan2-0/+173