summaryrefslogtreecommitdiffstats
path: root/lib/libc/gmon/mcount.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move to the <limits.h> universe.deraadt2015-01-161-2/+2
| | | | review by millert, binary checking process with doug, concept with guenther
* Fix kernel profiling on MP systems by using per-CPU buffers and teachmpi2013-03-121-8/+14
| | | | | | | | | | | kgmon(8) to deal with them, this time without public header changes. Previously various CPUs were iterating over the same global buffer at the same time to modify it and never ended. This diff includes some ideas submited by Thor Simon to NetBSD via miod@. ok deraadt@, mikeb@, haesbaert@
* Back out per-CPU kernel profiling, it shouldn't modify a public headermpi2013-02-121-15/+8
| | | | at this moment.
* Sync with libkern's copy. No functional change.mpi2013-02-111-8/+15
|
* Mark _MCOUNT_DECL as __used to prevent gcc4 from optimizing it away when itkettenis2010-05-091-2/+2
| | | | | | is only referenced from inline asm. ok jsg@
* zap remaining rcsid.espie2005-08-081-4/+1
| | | | | | Kill old files that are no longer compiled. okay theo
* deregister & ansify. ok deraad@ marco@ cloder@otto2005-03-231-8/+8
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* 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-2/+2
|
* tabify + trailing blankskstailey1997-07-231-3/+2
|
* proto; felix@mamba.pond.sub.orgderaadt1997-01-301-1/+2
|
* 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-8/+15
| | | | | | | | | | | 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-0/+2
| | | | Use __asm, not asm
* initial import of NetBSD treederaadt1995-10-181-0/+184