summaryrefslogtreecommitdiffstats
path: root/lib/libdevstat
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | 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-272-23/+4
| |\
| * \ Merge head from 7/28sjg2014-08-191-1/+1
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+1
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | Merge headsjg2014-04-271-5/+12
| |\ \ \
| * | | | Updated dependenciessjg2013-03-111-0/+1
| | | | |
| * | | | Updated dependenciessjg2013-02-161-2/+0
| | | | |
| * | | | Sync with HEAD.obrien2013-02-083-9/+75
| |\ \ \ \
| * | | | | Updated/new Makefile.dependsjg2012-11-081-0/+4
| | | | | |
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | Remove unused variable and silence clang warnings.araujo2015-06-041-2/+0
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | Differential Revision: D2681 Reviewed by: rodrigc
* | | | | Remove an obsolete comment in devstat(3) about the accuracy of theken2015-02-271-21/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | milliseconds per transaction (DSM_MS_PER_TRANSACTION) calculation. The comment was accurate many years ago when the kernel didn't record I/O times on a per-I/O basis, but now that we do collect that information in most areas, it isn't correct. The milliseconds per transaction values are correct, assuming the I/O duration has been recorded. Sponsored by: Spectra Logic MFC after: 3 days
* | | | | Convert libraries to use LIBADDbapt2014-11-251-2/+1
| |_|_|/ |/| | | | | | | | | | | While here reduce a bit overlinking
* | | | use .Mt to mark up email addresses consistently (part3)bapt2014-06-231-1/+1
| |_|/ |/| | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* | | Fix a typo.pluknet2013-12-251-1/+1
| | |
* | | For vmcore, calculate time relative to device creation upon time_uptime.pluknet2013-12-251-4/+11
| |/ |/| | | | | | | | | Previously it used a clock from live kernel. MFC after: 2 weeks
* | New devstat metrics for devstat_compute_statistics():trociny2012-12-153-9/+75
|/ | | | | | | | | DSM_TOTAL_DURATION DSM_TOTAL_DURATION_READ DSM_TOTAL_DURATION_WRITE DSM_TOTAL_DURATION_FREE DSM_TOTAL_DURATION_OTHER DSM_TOTAL_BUSY_TIME
* Globally replace u_int*_t from (non-contributed) man pages.ed2012-02-121-9/+9
| | | | | | | | | | | The reasoning behind this, is that if we are consistent in our documentation about the uint*_t stuff, people will be less tempted to write new code that uses the non-standard types. I am not going to bump the man page dates, as these changes can be considered style nits. The meaning of the man pages is unaffected. MFC after: 1 month
* Handle memory allocation failures in devstat_getdevs(), devstat_selectdevs(),ghelmer2012-01-061-10/+30
| | | | | | | and devstat_buildmatch(). PR: bin/83359 Reviewed by: ken
* Do not increment num_args if strsep(3) returned an empty field.pluknet2011-04-041-3/+4
| | | | | | | That fixes devstat_buildmatch(3) crashes with certain strings. Reported by: arundel MFC after: 2 weeks
* Spelling fixes.joel2010-08-031-1/+1
|
* Build lib/ with WARNS=6 by default.ed2010-01-021-1/+1
| | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
* Bump the version of all non-symbol-versioned shared libraries inkensmith2009-07-191-1/+1
| | | | | | | | preparation for 8.0-RELEASE. Add the previous version of those libraries to ObsoleteFiles.inc and bump __FreeBSD_Version. Reviewed by: kib Approved by: re (rwatson)
* The devstat(3) manpage claims that only <devstat.h> is needed as ajhb2008-01-311-0/+1
| | | | | | | | | prerequisite for using this interface. However, the 'statinfo' struct actually references CPUSTATES from <sys/resource.h>, so in fact it requires <sys/resource.h> to compile. Use a nested include of <sys/resource.h> to make the code match the docs. Reported by: Pietro Cerutti gahr | gahr.ch
* Bump library versions in preparation for 7.0.deischen2007-05-211-1/+1
| | | | Ok'd by: kan
* Remove an unused variable.stefanf2005-10-041-2/+1
| | | | Reviewed by: ken
* Remove a reference to compute_stats(), since it is no longer documented atken2005-08-101-4/+1
| | | | | | | least. Submitted by: osa MFC after: 1 week
* Bump the shared library version number of all libraries that have notkensmith2005-07-222-2/+2
| | | | | | | been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...)
* sync function prototype with reality.charnier2005-07-171-1/+6
|
* Tidy up the markup.ru2005-06-301-214/+285
| | | | Approved by: re (blanket manpages)
* Use __func__ throughout devstat.c instead of defining a func_namemux2005-04-261-31/+21
| | | | variable in each function.
* Make this compile with GCC4 by fixing a signedness issue.mux2005-04-261-1/+1
| | | | Reviewed by: md5(1)
* Mechanically kill hard sentence breaks.ru2004-07-021-5/+5
|
* Remove the use of cast as lvalue. GCC 3.4 isses a deprecation warningkan2004-06-251-1/+1
| | | | for this now.
* Fixed style of DPADD and LDADD assignments as per style.Makefile(5).ru2004-02-051-2/+2
|
* Include <nlist.h> for nlist-related declarations instead of depending onbde2003-10-131-0/+1
| | | | namespace pollution in <kvm.h>.
* mdoc(7): Use the new feature of the .In macro.ru2003-09-081-1/+1
|
* style.Makefile(5)obrien2003-08-181-1/+1
|
* It is not an error to have no devices.phk2003-08-171-1/+1
|
* Stage 3 of dynamic root support. Make all the libraries needed to rungordon2003-08-171-0/+1
| | | | | | binaries in /bin and /sbin installed in /lib. Only the versioned files reside in /lib, the .so symlink continues to live /usr/lib so the toolchain doesn't need to be modified.
* Remove MAINTAINER= lines in the makefiles for camcontrol, iostat, libcamken2003-06-141-2/+0
| | | | | | | | and libdevstat, since the new way of doing things is to just list maintainership in src/MAINTAINERS. Also, remove duplicate entries in src/MAINTAINERS for those utilities. I already had entries for them.
* Assorted mdoc(7) fixes.ru2003-05-221-3/+3
| | | | Approved by: re (blanket)
* Add prototype for compute_stats() so that libdevstat is WARNS=4 clean.phk2003-04-191-0/+8
| | | | Spotted by: kris
* If rounding results in -epsilon device busy %, set it to zero.phk2003-04-091-0/+2
|
* typophk2003-03-191-1/+1
|
* Further unbreak devstat: sort the index array in correct order too.phk2003-03-191-10/+10
|
* ARGH!phk2003-03-181-3/+3
| | | | Pointy hat to: phk
* Commit ken@' changes to this file: Bump version and append new entriesphk2003-03-181-9/+9
| | | | to stay backwards compatible.
OpenPOWER on IntegriCloud