summaryrefslogtreecommitdiff
path: root/usr.bin/gprof/gprof.c
AgeCommit message (Collapse)Author
2006-03-25add missing prototypes all over the place, u_long -> unsigned long (userlandMarc Espie
code). okay kettenis@, comments by ray@
2005-12-08Check fread() return value to get sane error message for too-smallTodd C. Miller
gmon header. Idea from Alexey Dobriyan
2005-05-03Fix some sign issues and make kernel profiling useful on amd64.Artur Grabowski
millert@ miod@ ok
2004-07-20Fix formats in debug printfs to work correctly on 64-bit archs.Artur Grabowski
miod@ ok
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-05-08Split out symbol handling into a separate file.Artur Grabowski
Implement symbol handling for ELF (based on FreeBSD). Implement dummy support for alpha, hppa, powerpc and sparc64. Tested during the last 2 months on various archs (never comitted because other stuff got in the way). Some fixups to i386 support from mickey@ This lets us switch all elf archs to this gprof.
2002-03-25change the extra text following preprocessor directives into comments.Dan Harnett
patch from David Krause <openbsd@davidkrause.com> ok millert@
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-03-25extern __progname; from bobMichael Shalayeff
2001-03-22_wall, err/warn; dummy hppa part, like othersMichael Shalayeff
2000-12-24Fix an off-by-one error. Since `i' starts at 0, not 1, we don't have toAaron Campbell
decrement it when reporting how many samples have been read so far.
1999-06-16more #ifdef hellTheo de Raadt
1998-08-11permit $ in symbol names since destructors now can use that char again...; ↵Theo de Raadt
jdp@freebsd
1996-10-02Support for call graph detection using the -c options on i386Thorsten Lockert
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt