aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/kgmon
Commit message (Collapse)AuthorAgeFilesLines
* Fix int/size_t mismatch for sysctl arguments. Try not to introduce moreJake Burkholder2002-07-301-5/+10
| | | | | | | | | unsorting. Reviewed by: bde (unsorted version) Notes: svn path=/head/; revision=100904
* The .Nm utilityPhilippe Charnier2002-07-141-3/+4
| | | | Notes: svn path=/head/; revision=99968
* de-__P()Alfred Perlstein2002-07-111-8/+8
| | | | Notes: svn path=/head/; revision=99800
* Update kgmon.8 to refer to /boot/kernel/kernel on -CURRENT, rather thanRobert Watson2002-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> Notes: svn path=/head/; revision=93301
* Reserved one of the spare fields in struct gmon to record the historyBruce Evans2002-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. Notes: svn path=/head/; revision=91009
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-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. Notes: svn path=/head/; revision=80029
* Remove whitespace at EOL.Dima Dorfman2001-07-151-4/+4
| | | | Notes: svn path=/head/; revision=79755
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79537
* - Backout botched attempt to introduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74816
* Set the default manual section for usr.sbin/ to 8.Ruslan Ermilov2001-03-201-1/+1
| | | | Notes: svn path=/head/; revision=74532
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-1/+1
| | | | Notes: svn path=/head/; revision=68965
* Put file names under .Pa.Philippe Charnier1999-11-271-2/+4
| | | | Notes: svn path=/head/; revision=53756
* $Id$ -> $FreeBSD$Peter Wemm1999-08-282-2/+2
| | | | Notes: svn path=/head/; revision=50479
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-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 Notes: svn path=/head/; revision=48791
* Use err(3). Add usage() and prototypes.Philippe Charnier1997-09-232-108/+75
| | | | Notes: svn path=/head/; revision=29736
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-311-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24428
* Implemented non-statistical kernel profiling. This is based onBruce Evans1995-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. Notes: svn path=/head/; revision=13107
* <sys/user.h> -> <sys/time.h>Poul-Henning Kamp1995-10-301-1/+1
| | | | | | | Spotted by: bde Notes: svn path=/head/; revision=11937
* #include <sys/user.h>Poul-Henning Kamp1995-10-291-0/+1
| | | | Notes: svn path=/head/; revision=11914
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-1/+1
| | | | Notes: svn path=/head/; revision=8857
* Get rid of _PATH_UNIX completely; use getbootfile(3) instead.Garrett 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. Notes: svn path=/head/; revision=3041
* Get rid of update. Make man page installation work with our schemeGarrett Wollman1994-08-051-1/+1
| | | | | | | (and rename a few in the process). Notes: svn path=/head/; revision=1863
* Converted 'vmunix' to 'kernel'.David Greenman1994-08-051-2/+2
| | | | Notes: svn path=/head/; revision=1856
* BSD 4.4 Lite usr.sbin SourcesRodney W. Grimes1994-05-263-0/+656
Notes: svn path=/cvs2svn/branches/WIN_TUE_NL/; revision=1553