Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make fixed-sized fixed-value mib[] arrays be const | 2020-10-12 | 1 | -4/+2 | |
| | | | | ok guenther tb millert | ||||
* | When system calls indicate an error they return -1, not some arbitrary | 2019-06-28 | 1 | -4/+4 | |
| | | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future. | ||||
* | Delete casts to off_t and size_t that are implied by assignments | 2016-09-21 | 1 | -4/+4 | |
| | | | | | | | or prototypes. Ditto for some of the char* and void* casts too. verified no change to instructions on ILP32 (i386) and LP64 (amd64) ok natano@ abluhm@ deraadt@ millert@ | ||||
* | Declare moncontrol(3) APIs in <sys/gmon.h> | 2016-05-07 | 1 | -4/+3 | |
| | | | | | | | Export _gmonparam again. Make gcrt0.o use an reserved name for _monstartup() ok millert@ | ||||
* | (char *)0 -> NULL | 2016-03-14 | 1 | -2/+2 | |
| | |||||
* | environ and __progname are not declared in a public header; declare them | 2016-03-13 | 1 | -2/+1 | |
| | | | | | | in libc's hidden/stdlib.h instead of in each .c file that needs one ok deraadt@ gsoares@ mpi@ | ||||
* | replace (void *)0 with NULL | 2016-01-19 | 1 | -4/+4 | |
| | |||||
* | Wrap moncontrol() so that internal calls go direct and it's a weak symbol | 2015-09-14 | 1 | -1/+3 | |
| | |||||
* | fix a fd leak in an error path in code under #ifdef DEBUG | 2015-05-06 | 1 | -1/+2 | |
| | |||||
* | Move to the <limits.h> universe. | 2015-01-16 | 1 | -2/+1 | |
| | | | | review by millert, binary checking process with doug, concept with guenther | ||||
* | Back out per-CPU kernel profiling, it shouldn't modify a public header | 2013-02-12 | 1 | -4/+1 | |
| | | | | at this moment. | ||||
* | Unbreak the tree by adding missing defines. Forgot to sync in previous | 2013-02-12 | 1 | -1/+4 | |
| | | | | spotted by todd@. | ||||
* | Allocate space for profiling data using mmap instead of sbrk. | 2005-11-20 | 1 | -21/+50 | |
| | | | | Tested by myself and pedro@ | ||||
* | zap remaining rcsid. | 2005-08-08 | 1 | -4/+1 | |
| | | | | | | Kill old files that are no longer compiled. okay theo | ||||
* | be more careful about snprintf return value; ok beck cloder | 2005-04-21 | 1 | -5/+5 | |
| | |||||
* | deregister & ansify. ok deraad@ marco@ cloder@ | 2005-03-23 | 1 | -8/+5 | |
| | |||||
* | protos | 2003-06-25 | 1 | -2/+4 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-02 | 1 | -6/+2 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | Zero out the reserved fields of struct gmonhdr rather than leaving | 2002-11-24 | 1 | -1/+2 | |
| | | | | | | stack garbage in them. From FreeBSD. OK deraadt@ | ||||
* | remaining easy snprintf conversions | 2002-05-25 | 1 | -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. | 2002-02-16 | 1 | -3/+3 | |
| | |||||
* | make that 0664 until we find out why umask is not being applied | 1998-07-15 | 1 | -2/+2 | |
| | |||||
* | open gmon.out mode 0644, not 0666 | 1998-07-15 | 1 | -2/+2 | |
| | |||||
* | use STDERR_FILENO; kleink | 1998-07-05 | 1 | -2/+2 | |
| | |||||
* | tabify + trailing blanks | 1997-07-23 | 1 | -7/+7 | |
| | |||||
* | Remove dead code | 1996-09-15 | 1 | -1/+2 | |
| | | | | | | Remove unused variables Silence some warnings lint(1) is your friend | ||||
* | protect getenv, do not oflow, fix unused debug; bitblt and deraadt | 1996-09-05 | 1 | -9/+11 | |
| | |||||
* | Fix RCS ids | 1996-08-19 | 1 | -7/+1 | |
| | | | | Make sure everything uses {SYS,}LIBC_SCCS properly | ||||
* | use p->hashfraction when doing non-time-critical calculations, rather than | 1996-06-18 | 1 | -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) | 1996-03-25 | 1 | -1/+1 | |
| | | | | Use __asm, not asm | ||||
* | from cgd@netbsd: | 1995-12-14 | 1 | -5/+54 | |
| | | | | | kill a gratuitous cast of lowpc to an int Add support for PROFDIR environment variable | ||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+260 | |