summaryrefslogtreecommitdiffstats
path: root/lib/libc/gmon/gmon.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Allocate space for profiling data using mmap instead of sbrk.millert2005-11-201-21/+50
| | | | Tested by myself and pedro@
* zap remaining rcsid.espie2005-08-081-4/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* be more careful about snprintf return value; ok beck cloderderaadt2005-04-211-5/+5
|
* deregister & ansify. ok deraad@ marco@ cloder@otto2005-03-231-8/+5
|
* protosderaadt2003-06-251-2/+4
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Zero out the reserved fields of struct gmonhdr rather than leavingcloder2002-11-241-1/+2
| | | | | | stack garbage in them. From FreeBSD. OK deraadt@
* remaining easy snprintf conversionsderaadt2002-05-251-3/+3
|
* Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.millert2002-02-161-3/+3
|
* make that 0664 until we find out why umask is not being appliedmillert1998-07-151-2/+2
|
* open gmon.out mode 0644, not 0666millert1998-07-151-2/+2
|
* use STDERR_FILENO; kleinkderaadt1998-07-051-2/+2
|
* tabify + trailing blankskstailey1997-07-231-7/+7
|
* Remove dead codetholo1996-09-151-1/+2
| | | | | | Remove unused variables Silence some warnings lint(1) is your friend
* protect getenv, do not oflow, fix unused debug; bitblt and deraadtderaadt1996-09-051-9/+11
|
* Fix RCS idstholo1996-08-191-7/+1
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* use p->hashfraction when doing non-time-critical calculations, rather thanderaadt1996-06-181-3/+3
| | | | | | | | | | | using HASHFRACTION directly. in time-critical calculations, if HASHFRACTION is a power of two, check that p->hashfraction == HASHFRACTION and if so do the calculation with the compiled-in value so that the compiler can optimize out (potentially) expensive divisions. if p->hashfraction != HASHFRACTION, actually do the division. This has the result that on machines with slow division, the division can be optimized out of the common case, but that if HASHFRACTION changes from the compiled-in value (for whatever reason), profiling will still work. Changes suggested by Chris Torek.
* Protect internal mcount symbol from lint(1)tholo1996-03-251-1/+1
| | | | Use __asm, not asm
* from cgd@netbsd:deraadt1995-12-141-5/+54
| | | | | kill a gratuitous cast of lowpc to an int Add support for PROFDIR environment variable
* initial import of NetBSD treederaadt1995-10-181-0/+260