History log of /freebsd-10-stable/usr.bin/gprof/aout.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 246783 14-Feb-2013 charnier

rework old-style functions prototypes
reduce WARNS=6 output


# 228629 17-Dec-2011 dim

More fixes for correct printf length modifiers usr.bin/gprof.

MFC after: 1 week


# 228628 17-Dec-2011 dim

In usr.bin/gprof/aout.c, use the correct printf length modifier for a
uint32_t.

MFC after: 1 week


# 216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


# 201383 02-Jan-2010 ed

Add missing #include for string routines.


# 130776 20-Jun-2004 stefanf

Retire support for gprof's -c option. All our currently supported
architectures only provide a dummy implementation.

Silence on: current@


# 129652 24-May-2004 stefanf

Include <netinet/in.h> for ntoh*() and hton*() prototypes.

Approved by: das (mentor)


# 105243 16-Oct-2002 charnier

Remove done() which was just exit() so use of warn()/err() can be made. Abort
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.


# 97631 30-May-2002 wollman

Fix preprocessor directive syntax (text after #endif).
The style of this program is still atrocious (not fixed).


# 91018 21-Feb-2002 bde

Fixed printf format errors. In printgprof.c, also convert the scale
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.


# 91017 21-Feb-2002 bde

Added missing copyright. Obtain one and a vendor id from gprof.c. aout.c
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.


# 38928 07-Sep-1998 jdp

Make profiling work for ELF. gprof now autodetects the format of
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.