Commit Graph

77 Commits

Author SHA1 Message Date
Jeff Law
4e85e79f4f * Makefile.in: Avoid bug in hpux sed. 1994-03-20 23:40:41 +00:00
Roland Pesch
5ee3dd17d9 More widely useful INFO-DIR fragment. 1994-03-17 22:34:07 +00:00
David D. Zuhn
fc3a75fb2b update rev to 5.6(Cygnus) 1993-12-16 04:24:16 +00:00
David D. Zuhn
4db865d01a remove gratitious s 1993-12-16 04:22:10 +00:00
David D. Zuhn
4fe2350be4 document -v flag 1993-12-16 04:18:17 +00:00
David D. Zuhn
b4f476e939 add -v flag to gprof (print version number) 1993-12-16 04:14:45 +00:00
Jeffrey Osier
a2b3470778 gprof.texi: minor fix. 1993-11-03 11:44:35 +00:00
Sean Eric Fagan
2ea5f3252a Use BFD to determine what a symbol prefix is, be better about determining
which symbols to study, and divide by the correct amount.
1993-08-13 21:38:41 +00:00
Steve Chamberlain
b4a1e77be8 * Makefile.in: Install correctly. 1993-07-06 17:12:20 +00:00
David MacKenzie
7ce122a201 * gprof.c (main): Get whoami from argv, instead of hardcoding.
Use it in usage message.  Split usage message to fit in 80 cols.
1993-06-24 21:44:34 +00:00
Ken Raeburn
92c7228d74 Look in ../bfd, not ../include, for bfd.h. 1993-06-21 00:58:38 +00:00
Steve Chamberlain
73fbbeead4 * gmon.h, gprof.h: structs of chars used to hold external
representations.
	* gprof.c (getpfile, openpfile, readsamples): Swap data in using
	new structures.
1993-06-16 19:58:37 +00:00
Ken Raeburn
c2ada801f3 (use full hostname in log entry) 1993-06-16 03:10:44 +00:00
Ken Raeburn
f905eff404 look in ../include instead of ../bfd for bfd.h 1993-06-16 03:10:01 +00:00
David D. Zuhn
98e4321e8d remove accidental INSTALL change 1993-06-16 00:16:23 +00:00
David D. Zuhn
263773eca1 remove parentdir support 1993-06-16 00:15:53 +00:00
Per Bothner
7f2649bb06 * Makefile.in (INCLUDES): Add -I../bfd for sysdep.h and bfd.h.
* configure.in:  No longer need to configure to get sysdep.h.
1993-06-07 19:57:26 +00:00
K. Richard Pixley
87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
David D. Zuhn
aab37f5278 install shouldn't depend on install-info 1993-05-20 23:42:18 +00:00
Ian Lance Taylor
7508b715df * gprof.h: Undefine hz. 1993-04-26 19:59:24 +00:00
Ian Lance Taylor
8739c727bd * gprof.h: Include ansidecl.h before sysdep.h. 1993-04-26 19:38:30 +00:00
Sean Eric Fagan
6699a5555d gprof(1) can have more than one profile data file, so have the usage
message reflect that.
1993-04-14 00:04:18 +00:00
Per Bothner
9d65137307 * M Makefile.in: Add -g to CFLAGS.
Ads LDFLAGS and use in place of CFLAGS where appropriate.
	* configure.in:  Make a sysdep.hlink in the same way other
	bfd-based directories do.
	* gprof.h (UNIT):  Replace non-standard 'u_short' by 'unsigned
	short'.
	* gprof.h:  #include sysdep.h instead of a bunch of stuff.
	* gprof.c (main):  Fix typo gproff->gprof.
1993-04-13 23:20:14 +00:00
David D. Zuhn
44c8c1d565 add INFO-DIR-ENTRY 1993-03-26 03:01:46 +00:00
David D. Zuhn
80c8fd72ed add installcheck 1993-03-23 08:03:44 +00:00
David D. Zuhn
3ff094aa19 fix whitespace 1993-03-22 23:25:27 +00:00
Per Bothner
33023c9c9c * gprof.c (funcsymbol): Invert test for aflag. 1993-02-28 02:18:40 +00:00
Per Bothner
8a6e5b69e4 * printgprof (xmalloc, xrealloc): Cast results of malloc
and realloc to PTR.
1993-02-26 00:03:24 +00:00
David D. Zuhn
5afba784b1 gprof, not gprog. typo 1993-02-13 11:01:41 +00:00
David D. Zuhn
1b53105104 keep gprof.texi, remove RCS cruft 1993-02-13 09:05:37 +00:00
Jeffrey Osier
2518bf3701 added rules for info, install-info, and dvi; rule for clean is correct, too 1993-02-03 22:03:33 +00:00
Jeffrey Osier
be4e1cd542 freshly updated -- gprof.texi is an edit of the old `gprof.texinfo' by
Richard Stallman and Jay Fenalson.  Probably 90% of the text is theirs.
1993-01-29 23:47:33 +00:00
Sean Eric Fagan
804c13bdb1 Add a usage statement if an unrecognized option is given. 1993-01-24 19:07:11 +00:00
David D. Zuhn
dedfbe49b9 fix install rule 1993-01-06 09:00:02 +00:00
K. Richard Pixley
017349fbcf recording file death 1992-12-08 05:21:19 +00:00
Mark Eichin
03c0866031 Eckhard Rueggeberg throught gprof didn't work because the man page was wrong.
The SYNOPSIS now matches the rest of the man page.
1992-10-09 18:34:33 +00:00
Per Bothner
3d3e494e4c * gen-c-prog.awk: New awk script, lightly changed from
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-10-06 00:57:18 +00:00
Per Bothner
dc1d1ca5e8 * gprof.h, gprof.c, printfgprof.c: Add support for two
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-31 03:34:15 +00:00
Mark Eichin
a7a2ea6874 correct use of bfd symbols 1992-08-27 21:19:27 +00:00
Ian Lance Taylor
3c9c3ce339 Brought forward from p3:
Wed Aug 19 14:36:39 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: always create installation directories.
1992-08-19 21:38:00 +00:00
Mark Eichin
c319340056 per explanation from zoo, back out DESTDIR change. 1992-08-12 23:02:31 +00:00
Mark Eichin
4be49df5b7 * Makefile.in: change ${MACHINE} to $(MACHINE), add $(DESTDIR) to
bin install rule.
1992-08-12 22:16:34 +00:00
David D. Zuhn
ea2b679c90 don't install gprof.{callg,flat}, install the man page, get the new
man page from progressive (the one that uses -man macros)
1992-07-20 00:48:14 +00:00
Mark Eichin
f7dfc7e2a6 ... and make it return the *right* value when it goes out of bounds. 1992-07-14 22:47:46 +00:00
Mark Eichin
b974fbff9c leave fencepost condition *completely* open-ended. Closes 1286. 1992-07-14 22:33:02 +00:00
John Gilmore
028fe6367a Lint 1992-07-13 11:59:22 +00:00
John Gilmore
8e2d760b76 * config/mt-{tahoe,vax}: Add, to match existing support files.
* config/tmake-*:  Remove leftover crud.
1992-07-13 02:54:30 +00:00
John Gilmore
5d32c9524e * configure.in: Remove host section, expand target section. 1992-07-13 02:54:10 +00:00
John Gilmore
a4ea327414 Oops 1992-07-13 02:25:32 +00:00
John Gilmore
9388476b43 * blurbs.c: New file, created from gprof.flat and gprof.callg by
* 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-13 02:24:24 +00:00