summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kgmon
Commit message (Collapse)AuthorAgeFilesLines
* 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