summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kgmon
Commit message (Collapse)AuthorAgeFilesLines
* Fix int/size_t mismatch for sysctl arguments. Try not to introduce morejake2002-07-301-5/+10
| | | | | | unsorting. Reviewed by: bde (unsorted version)
* The .Nm utilitycharnier2002-07-141-3/+4
|
* de-__P()alfred2002-07-111-8/+8
|
* Update kgmon.8 to refer to /boot/kernel/kernel on -CURRENT, rather thanrwatson2002-03-281-2/+2
| | | | | | | /kernel. kgmon actually appears to use getbootfile(), and the man page might need to be updated to reflect that. Reported by: Hiten Pandya <hiten@uk.FreeBSD.org>
* Reserved one of the spare fields in struct gmon to record the historybde2002-02-211-3/+31
| | | | | | | | | | | | | | | | | | | counter type, as threatened in rev.1.8 (the density doesn't need to be recorded since it can be derived from other fields). This doesn't affect binary compatibility, but new utilities won't be able to depend on the contents of this field because libc/gmon/gmon.c was broken -- it wrote garbage to the spare fields. Added a history counter type field to struct gmonparam. This breaks binary compatibility a little, since kgmon wanted to read the whole struct. Fixed kgmon to only depend on reading the critical earlier parts of the struct. This should also fix 6+ year old breakage of binary compatibility when the profrate field was added. Only initialize the new field in struct gmon for now, so that the compatibility code for this (in kgmon) gets tested. The compatibility code has to guesstimate the value. The new field in struct gmonparam is for the kernel to initialize so that kgmon doesn't have to guess.
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-3/+4
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove whitespace at EOL.dd2001-07-151-4/+4
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Put file names under .Pa.charnier1999-11-271-2/+4
|
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Use err(3). Add usage() and prototypes.charnier1997-09-232-108/+75
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-1/+1
| | | | posix standard on the topic.
* Implemented non-statistical kernel profiling. This is based onbde1995-12-292-12/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | looking at a high resolution clock for each of the following events: function call, function return, interrupt entry, interrupt exit, and interesting branches. The differences between the times of these events are added at appropriate places in a ordinary histogram (as if very fast statistical profiling sampled the pc at those places) so that ordinary gprof can be used to analyze the times. gmon.h: Histogram counters need to be 4 bytes for microsecond resolutions. They will need to be larger for the 586 clock. The comments were vax-centric and wrong even on vaxes. Does anyone disagree? gprof4.c: The standard gprof should support counters of all integral sizes and the size of the counter should be in the gmon header. This hack will do until then. (Use gprof4 -u to examine the results of non-statistical profiling.) config/*: Non-statistical profiling is configured with `config -pp'. `config -p' still gives ordinary profiling. kgmon/*: Non-statistical profiling is enabled with `kgmon -B'. `kgmon -b' still enables ordinary profiling (and distables non-statistical profiling) if non-statistical profiling is configured.
* <sys/user.h> -> <sys/time.h>phk1995-10-301-1/+1
| | | | Spotted by: bde
* #include <sys/user.h>phk1995-10-291-0/+1
|
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* Get rid of _PATH_UNIX completely; use getbootfile(3) instead.wollman1994-09-241-1/+1
| | | | | | | DANGER WILL ROBINSON! _PATH_UNIX is currently defined as the literal string "don't use this". I am of two minds about this myself, but wanted to get something into the tree as quickly as possible.
* Get rid of update. Make man page installation work with our schemewollman1994-08-051-1/+1
| | | | (and rename a few in the process).
* Converted 'vmunix' to 'kernel'.dg1994-08-051-2/+2
|
* BSD 4.4 Lite usr.sbin Sourcesrgrimes1994-05-263-0/+656
OpenPOWER on IntegriCloud