freebsd-skq/usr.sbin/config
Bruce Evans 912e603778 Implemented non-statistical kernel profiling. This is based on
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.
1995-12-29 15:30:05 +00:00
..
SMM.doc Converted 'vmunix' to 'kernel'. 1994-08-05 09:14:37 +00:00
config.8 Implemented non-statistical kernel profiling. This is based on 1995-12-29 15:30:05 +00:00
config.h Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
config.y Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
lang.l Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
main.c Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
Makefile Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
mkglue.c Finish removing `#ifdef STATCLOCK'. Not removing it properly here 1994-12-06 22:01:16 +00:00
mkheaders.c Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
mkioconf.c Support the configuration of "od" devices. 1995-10-31 17:31:35 +00:00
mkmakefile.c Implemented non-statistical kernel profiling. This is based on 1995-12-29 15:30:05 +00:00
mkoptions.c Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
mkswapconf.c Implement support for conf/options and i386/conf/options.i386 1995-12-11 10:52:34 +00:00
mkubglue.c BSD 4.4 Lite usr.sbin Sources 1994-05-26 05:23:31 +00:00