summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof/aout.c
Commit message (Collapse)AuthorAgeFilesLines
* 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