History log of /openbsd-src/lib/libc/gmon/mcount.c (Results 1 – 16 of 16)
Revision Date Author Comments
# d771b0cb 11-Jan-2022 jsg <jsg@openbsd.org>

spelling


# aea60bee 16-Jan-2015 deraadt <deraadt@openbsd.org>

Move to the <limits.h> universe.
review by millert, binary checking process with doug, concept with guenther


# 6377c2ea 12-Mar-2013 mpi <mpi@openbsd.org>

Fix kernel profiling on MP systems by using per-CPU buffers and teach
kgmon(8) to deal with them, this time without public header changes.

Previously various CPUs were iterating over the same global

Fix kernel profiling on MP systems by using per-CPU buffers and teach
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@

show more ...


# 0f288458 12-Feb-2013 mpi <mpi@openbsd.org>

Back out per-CPU kernel profiling, it shouldn't modify a public header
at this moment.


# 3b85c830 11-Feb-2013 mpi <mpi@openbsd.org>

Sync with libkern's copy. No functional change.


# 54556351 09-May-2010 kettenis <kettenis@openbsd.org>

Mark _MCOUNT_DECL as __used to prevent gcc4 from optimizing it away when it
is only referenced from inline asm.

ok jsg@


# c2c925de 08-Aug-2005 espie <espie@openbsd.org>

zap remaining rcsid.

Kill old files that are no longer compiled.

okay theo


# ee40e6f6 23-Mar-2005 otto <otto@openbsd.org>

deregister & ansify. ok deraad@ marco@ cloder@


# 6580fee3 02-Jun-2003 millert <millert@openbsd.org>

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


# c72b5b24 16-Feb-2002 millert <millert@openbsd.org>

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 don

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.

show more ...


# fdf5b8ac 23-Jul-1997 kstailey <kstailey@openbsd.org>

tabify + trailing blanks


# 8eeae22e 30-Jan-1997 deraadt <deraadt@openbsd.org>

proto; felix@mamba.pond.sub.org


# e9b2b68c 19-Aug-1996 tholo <tholo@openbsd.org>

Fix RCS ids
Make sure everything uses {SYS,}LIBC_SCCS properly


# 64d71990 18-Jun-1996 deraadt <deraadt@openbsd.org>

use p->hashfraction when doing non-time-critical calculations, rather than
using HASHFRACTION directly. in time-critical calculations, if HASHFRACTION
is a power of two, check that p->hashfraction =

use p->hashfraction when doing non-time-critical calculations, rather than
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.

show more ...


# d15df0ef 25-Mar-1996 tholo <tholo@openbsd.org>

Protect internal mcount symbol from lint(1)
Use __asm, not asm


# df930be7 18-Oct-1995 deraadt <deraadt@openbsd.org>

initial import of NetBSD tree