summaryrefslogtreecommitdiffstats
path: root/lib/libc/gmon (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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@
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* 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-082-8/+2
| | | | | | 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-232-16/+13
|
* protosderaadt2003-06-251-2/+4
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-023-18/+6
| | | | 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-162-5/+5
|
* - remove all trailing whitespaceaaron1999-07-091-3/+3
| | | | | | | | | | * except when it is escaped with a `\' at the end of the line - fix remaining .Nm usage as well - this is from a patch I received from kwesterback@home.com, who has been working on some scripts for fixing formatting errors in mdoc'd man pages Ok, so there could be a cost/benefit debate with this commit, but since I have the patch we might as well commit it...
* remove argument from .Os macros so value in /usr/share/tmac/mdoc/doc-commonaaron1999-05-231-2/+2
| | | | is used instead; kwesterback@home.com
* Add thread-safety to libc, so that libc_r will build (on i386 at least).d1998-11-201-2/+2
| | | | | | | | | | | | | All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
* man page repairs; aaron@ug.cs.dal.caderaadt1998-08-291-1/+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-232-10/+9
|
* proto; felix@mamba.pond.sub.orgderaadt1997-01-301-1/+2
|
* 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-194-19/+4
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* use p->hashfraction when doing non-time-critical calculations, rather thanderaadt1996-06-182-11/+18
| | | | | | | | | | | 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-252-1/+3
| | | | 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-184-0/+559