Home | History | Annotate | Download | only in kgmon
History log of /src/usr.sbin/kgmon/kgmon.8
RevisionDateAuthorComments
 1.20  14-Aug-2021  ryo Improved the performance of kernel profiling on MULTIPROCESSOR, and possible to get profiling data for each CPU.

In the current implementation, locks are acquired at the entrance of the mcount
internal function, so the higher the number of cores, the more lock conflict
occurs, making profiling performance in a MULTIPROCESSOR environment unusable
and slow. Profiling buffers has been changed to be reserved for each CPU,
improving profiling performance in MP by several to several dozen times.

- Eliminated cpu_simple_lock in mcount internal function, using per-CPU buffers.
- Add ci_gmon member to struct cpu_info of each MP arch.
- Add kern.profiling.percpu node in sysctl tree.
- Add new -c <cpuid> option to kgmon(8) to specify the cpuid, like openbsd.
For compatibility, if the -c option is not specified, the entire system can be
operated as before, and the -p option will get the total profiling data for
all CPUs.
 1.19  25-Apr-2011  wiz Add option arguments to descriptions. From YOMURA Masanori.
 1.18  20-Jun-2005  peter Change all .Xr config 8 to .Xr config 1, following the recent move of
config from usr.sbin -> usr.bin.

Reviewed by wiz.
 1.17  27-Jan-2005  wiz Put dot at end of sentence instead of in the middle; sort option descriptions.
 1.16  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22366, verified by myself.
 1.15  25-Feb-2003  wiz .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
 1.14  09-Nov-2002  enami Fix .Nm usage.
 1.13  19-Jan-2002  wiz Improve markup, sort sections.
 1.12  07-Nov-2000  lukem fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
using `.Nm ""' if there's stuff following, or for the 2nd and so on
occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
 1.11  03-Aug-2000  eeh Add a flag to turn on debugging so you don't need to recompile or patch
the binary to turn it on.
 1.10  03-Jul-2000  enami Use .Ar macro for the flag arguments.
 1.9  22-Mar-1999  garbled More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Many more to
come.
 1.8  18-Oct-1997  mrg clean up, WARNS.
 1.7  18-Oct-1997  lukem rcsid fascism
 1.6  11-Jun-1994  mycroft Fix up RCS ids.
 1.5  10-Jun-1994  pk update to 4.4-lite.
 1.4  01-Aug-1993  mycroft Add RCS indentifiers.
 1.3  13-Jun-1993  mycroft Fix up FILES sections.
 1.2  13-Jun-1993  mycroft Update file names.
 1.1  31-Mar-1993  cgd branches: 1.1.1;
added kgmon, from net-2. should work fine, because kernel does profiling
support correctly of config'd w/"-p"
 1.1.1.1  12-Dec-1993  mrg 4.4BSD-Lite2

RSS XML Feed