summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof/aout.c
Commit message (Collapse)AuthorAgeFilesLines
* Retire support for gprof's -c option. All our currently supportedstefanf2004-06-201-3/+0
| | | | | | architectures only provide a dummy implementation. Silence on: current@
* Include <netinet/in.h> for ntoh*() and hton*() prototypes.stefanf2004-05-241-0/+2
| | | | Approved by: das (mentor)
* Remove done() which was just exit() so use of warn()/err() can be made. Abortcharnier2002-10-161-26/+16
| | | | | | | on allocation failure instead of displaying a warning and deferencing NULL pointer after. Spelling. Add prototypes. Add list of option in synopsis section of man page, -d is not referenced because available as a compile option. It should be made a runtime option btw.
* Fix preprocessor directive syntax (text after #endif).wollman2002-05-301-3/+3
| | | | The style of this program is still atrocious (not fixed).
* Fixed printf format errors. In printgprof.c, also convert the scalebde2002-02-211-2/+2
| | | | | | without possibly losing lots of precision, and print the scale using %g instead of %d in case it is non-integral. %g might not be the best format for this.
* Added missing copyright. Obtain one and a vendor id from gprof.c. aout.cbde2002-02-211-0/+43
| | | | | | | was split off from gprof.c in rev.1.7 of the latter. elf.c is mostly new, but the old copyright sort of applies to it and is better than none. Use __FBSDID() for the FreeBSD id.
* Make profiling work for ELF. gprof now autodetects the format ofjdp1998-09-071-0/+201
the executable file, so it will work for both a.out and ELF format files. I have split the object format specific code into separate source files. It's cleaner than it was before, but it's still pretty crufty. Don't cheat on your make world for this update. A lot of things have to be rebuilt for it to work, including the compiler and all of the profiled libraries.
OpenPOWER on IntegriCloud