freebsd-dev/lib/libc
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
..
amd64 remove GCC support functions from libc. 1995-10-05 10:24:57 +00:00
compat-43 Remove setre*id*. 1995-04-25 10:00:04 +00:00
db Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
gen Don't block SIGINT in getpass(3); this doesn't make sense. 1995-12-27 23:23:00 +00:00
gmon Implemented non-statistical kernel profiling. This is based on 1995-12-29 15:30:05 +00:00
i386 Be smarter about handling overlapped copies and only go backwards if it 1995-12-27 18:47:45 +00:00
locale Oops. I seem to have over-corrected with my last commit. It should be 1995-12-29 08:23:59 +00:00
net Add NIS support to getservent(3) functions (getservbyport() and getservbyname() 1995-11-04 19:07:27 +00:00
nls and so on... 1995-10-22 14:39:22 +00:00
quad Added prototypes. 1995-12-26 13:25:13 +00:00
regex More cleanup. 1995-10-22 14:40:55 +00:00
rpc Fix minor annoyance: have clnt_perror(), clnt_perrno() and 1995-12-10 17:40:18 +00:00
stdio Minor cleanup, #include's and unused vars. 1995-10-22 14:52:30 +00:00
stdlib Added prototypes. 1995-12-26 13:25:13 +00:00
stdtime Don't reset LC_TIME to C when it isn't neccessary 1995-10-23 19:52:43 +00:00
string Remove trailing whitespace. 1995-05-30 05:51:47 +00:00
sys Document recent changes in socket buffers and listen(2). 1995-11-03 18:34:38 +00:00
xdr minor cleanup, #includes. 1995-10-22 14:53:58 +00:00
yp Clean up a few things left dangling after the last commit. The new 1995-12-15 03:26:40 +00:00
Makefile Bump shlib minor because xdr_* functions have been enabled. Do NOT 1995-08-09 06:50:52 +00:00