summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kgmon
Commit message (Collapse)AuthorAgeFilesLines
* Use NULL instead of 0 for pointers.araujo2016-04-141-1/+1
| | | | | | fopen(3) returns a FILE pointer, otherwise NULL is returned. MFC after: 2 weeks
* Update dependencies after r291406 added libelf to libkvm.bdrewery2015-12-011-0/+1
| | | | | | | | Unfortunately filemon/meta mode tracks all indirect dependencies here since ld(1) is reading libelf when linking in libkvm. Churn would be reduced if this was able to be limited to direct dependencies. Sponsored by: EMC / Isilon Storage Division
* Add META_MODE support.sjg2015-06-131-0/+19
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-2/+1
| |\ | |/ |/|
| * Updated dependenciessjg2014-05-161-1/+0
| |
| * Updated dependenciessjg2014-05-101-0/+2
| |
| * sync from headsjg2013-04-121-35/+27
| |\
| * | Updated dependenciessjg2013-03-111-0/+1
| | |
| * | Updated dependenciessjg2013-02-161-2/+0
| | |
| | |
| | \
| *-. \ Sync from headsjg2012-11-041-1/+3
| |\ \ \
| * | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+20
| | |/ / | |/| | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | Convert usr.sbin to LIBADDbapt2014-11-251-2/+1
| |_|/ |/| | | | | | | | Reduce overlinking
* | | remove old-style function definitioncharnier2013-02-141-35/+27
| |/ |/| | | | | reduce WARNS=6 output
* | Check the return error of set[e][ug]id. While this can never fail in theeadler2012-10-221-1/+3
|/ | | | | | | | | | current version of FreeBSD, this isn't guarenteed by the API. Custom security modules, or future implementations of the setuid and setgid may fail. Submitted by: Erik Cederstrand Approved by: cperciva MFC after: 3 days
* Spelling fixes for usr.sbin/uqs2011-12-301-4/+4
|
* Correct a typodelphij2006-06-291-1/+1
|
* Sort sections.ru2005-01-181-3/+3
|
* Set WARNS level to 2.marcel2004-08-301-0/+1
|
* Improve 64-bit cleanliness: make sure to use long format specifiers formarcel2004-08-301-12/+12
| | | | long arguments. This is WARNS=2 clean now.
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived softwareimp2004-08-072-8/+0
| | | | (with permission of addtional copyright holders where appropriate)
* Format nits.maxim2004-05-291-2/+2
|
* Use correct item to track max width of listeivind2003-03-241-1/+1
|
* Fix int/size_t mismatch for sysctl arguments. Try not to introduce morejake2002-07-301-5/+10
| | | | | | unsorting. Reviewed by: bde (unsorted version)
* The .Nm utilitycharnier2002-07-141-3/+4
|
* de-__P()alfred2002-07-111-8/+8
|
* Update kgmon.8 to refer to /boot/kernel/kernel on -CURRENT, rather thanrwatson2002-03-281-2/+2
| | | | | | | /kernel. kgmon actually appears to use getbootfile(), and the man page might need to be updated to reflect that. Reported by: Hiten Pandya <hiten@uk.FreeBSD.org>
* Reserved one of the spare fields in struct gmon to record the historybde2002-02-211-3/+31
| | | | | | | | | | | | | | | | | | | counter type, as threatened in rev.1.8 (the density doesn't need to be recorded since it can be derived from other fields). This doesn't affect binary compatibility, but new utilities won't be able to depend on the contents of this field because libc/gmon/gmon.c was broken -- it wrote garbage to the spare fields. Added a history counter type field to struct gmonparam. This breaks binary compatibility a little, since kgmon wanted to read the whole struct. Fixed kgmon to only depend on reading the critical earlier parts of the struct. This should also fix 6+ year old breakage of binary compatibility when the profrate field was added. Only initialize the new field in struct gmon for now, so that the compatibility code for this (in kgmon) gets tested. The compatibility code has to guesstimate the value. The new field in struct gmonparam is for the kernel to initialize so that kgmon doesn't have to guess.
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-3/+4
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove whitespace at EOL.dd2001-07-151-4/+4
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+1
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Put file names under .Pa.charnier1999-11-271-2/+4
|
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* 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