freebsd-dev/usr.bin/gprof
Bruce Evans e6c645fad2 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:46:59 +00:00
..
PSD.doc BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
amd64.c BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
amd64.h BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
arcs.c Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
dfn.c Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
gprof.1 Added much-needed new options -[lL], to suppress printing of either the 1994-12-22 20:52:15 +00:00
gprof.c Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
gprof.callg BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
gprof.flat BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
gprof.h Implemented non-statistical kernel profiling. This is based on 1995-12-29 15:46:59 +00:00
hertz.c BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
hp300.c BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
hp300.h BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
i386.c BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
i386.h BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
lookup.c Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
Makefile Change install' to ${INSTALL}' so that default install flags can be 1995-07-25 00:37:58 +00:00
mips.c BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
mips.h BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
pathnames.h BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
printgprof.c Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
printlist.c BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
sparc.c BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
sparc.h BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
tahoe.c Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
tahoe.h Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
vax.c Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
vax.h Remove trailing whitespace. 1995-05-30 06:41:30 +00:00