summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/mcount.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix kernel profiling on MP systems by using per-CPU buffers and teachmpi2013-03-121-8/+16
| | | | | | | | | | | 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-16/+8
| | | | at this moment.
* Fix kernel profiling on MP systems by using per-CPU buffer. Previouslympi2013-02-111-8/+16
| | | | | | | | | 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 mikeb@, haesbaert@
* replace __attribute__((unused)) with __used, which will be defined to thedlg2013-01-161-6/+2
| | | | | | | | | right thing for whichever compiler we use. found while trying to build a profiled kernel on sparc64. solution found by guenther and refined by miod and kettenis. ok guenther@ kettenis@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-9/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* ansi and some missing protosderaadt2004-08-071-4/+3
|
* Remove some register keywords to make this compile on amd64.art2004-07-221-7/+7
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-7/+3
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Add an __attribute__((unused))__ to the function declared by _MCOUNT_DECL,art2000-02-221-3/+7
| | | | | sparc defines that function as static and gcc doesn't understand that it gets called from an assembler stub.
* $OpenBSD$niklas1997-11-071-1/+2
|
* prototyping problems, PR#71, felix@mamba.pond.sub.orgderaadt1997-01-271-0/+1
|
* sync to libcderaadt1996-06-181-2/+13
|
* initial import of NetBSD treederaadt1995-10-181-0/+180