summaryrefslogtreecommitdiff
path: root/lib/libc/gmon/mcount.c
Commit message (Collapse)AuthorAgeFilesLines
* These files are very specific to FreeBSD kernels, so silently compileJohn Birrell1998-03-091-1/+4
| | | | | | | no code when building a library with __NETBSD_SYSCALLS defined. Notes: svn path=/head/; revision=34361
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22993
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Cleaned up interrupt masking by declaring the state variable in aBruce Evans1996-08-281-6/+5
| | | | | | | | | | machine-dependent macro and passing it to all machine-dependent macros. Eliminated the state variable for the GUPROF case. Notes: svn path=/head/; revision=17879
* Use PAGE_SIZE instead of NBPGPoul-Henning Kamp1996-05-021-2/+2
| | | | Notes: svn path=/head/; revision=15529
* Added $Id$.Bruce Evans1995-12-301-0/+4
| | | | Notes: svn path=/head/; revision=13115
* Implemented non-statistical kernel profiling. This is based onBruce Evans1995-12-291-8/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-2/+2
| | | | Notes: svn path=/head/; revision=8870
* Added support for kernel profiling to mcount.cPaul Richards1994-09-151-0/+4
| | | | Notes: svn path=/head/; revision=2800
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+178
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573