summaryrefslogtreecommitdiff
path: root/lib/libdevstat/Makefile
AgeCommit message (Collapse)Author
2024-07-15Remove residual blank line at start of MakefileWarner Losh
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
2023-08-16Remove $FreeBSD$: one-line sh patternWarner Losh
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
2019-09-05pkgbase: Create a FreeBSD-utilities package and make it the default oneEmmanuel Vadot
The default package use to be FreeBSD-runtime but it should only contain binaries and libs enough to boot to single user and repair the system, it is also very handy to have a package that can be tranform to a small mfsroot. So create a new package named FreeBSD-utilities and make it the default one. Also move a few binaries and lib into this package when it make sense. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21506 Notes: svn path=/head/; revision=351858
2016-02-04First pass through library packaging.Glen Barber
Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295278
2014-11-25Convert libraries to use LIBADDBaptiste Daroussin
While here reduce a bit overlinking Notes: svn path=/head/; revision=275024
2010-01-02Build lib/ with WARNS=6 by default.Ed Schouten
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. Notes: svn path=/head/; revision=201381
2009-07-19Bump the version of all non-symbol-versioned shared libraries inKen Smith
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) Notes: svn path=/head/; revision=195767
2007-05-21Bump library versions in preparation for 7.0.Daniel Eischen
Ok'd by: kan Notes: svn path=/head/; revision=169807
2005-07-22Bump the shared library version number of all libraries that have notKen Smith
been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...) Notes: svn path=/head/; revision=148297
2004-02-05Fixed style of DPADD and LDADD assignments as per style.Makefile(5).Ruslan Ermilov
Notes: svn path=/head/; revision=125503
2003-08-18style.Makefile(5)David E. O'Brien
Notes: svn path=/head/; revision=119071
2003-08-17Stage 3 of dynamic root support. Make all the libraries needed to runGordon Tetlow
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. Notes: svn path=/head/; revision=119017
2003-06-14Remove MAINTAINER= lines in the makefiles for camcontrol, iostat, libcamKenneth D. Merry
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. Notes: svn path=/head/; revision=116325
2003-03-15Run a revision of the devstat interface:Poul-Henning Kamp
Kernel: Change statistics to use the *uptime() timescale (ie: relative to boottime) rather than the UTC aligned timescale. This makes the device statistics code oblivious to clock steps. Change timestamps to bintime format, they are cheaper. Remove the "busy_count", and replace it with two counter fields: "start_count" and "end_count", which are updated in the down and up paths respectively. This removes the locking constraint on devstat. Add a timestamp argument to devstat_start_transaction(), this will normally be a timestamp set by the *_bio() function in bp->bio_t0. Use this field to calculate duration of I/O operations. Add two timestamp arguments to devstat_end_transaction(), one is the current time, a NULL pointer means "take timestamp yourself", the other is the timestamp of when this transaction started (see above). Change calculation of busy_time to operate on "the salami principle": Only when we are idle, which we can determine by the start+end counts being identical, do we update the "busy_from" field in the down path. In the up path we accumulate the timeslice in busy_time and update busy_from. Change the byte_* and num_* fields into two arrays: bytes[] and operations[]. Userland: Change the misleading "busy_time" name to be called "snap_time" and make the time long double since that is what most users need anyway, fill it using clock_gettime(CLOCK_MONOTONIC) to put it on the same timescale as the kernel fields. Change devstat_compute_etime() to operate on struct bintime. Remove the version 2 legacy interface: the change to bintime makes compatibility far too expensive. Fix a bug in systat's "vm" page where boot relative busy times would be bogus. Bump __FreeBSD_version to 500107 Review & Collaboration by: ken Notes: svn path=/head/; revision=112288
2002-09-28Zap now-unused SHLIB_MINORPeter Wemm
Notes: svn path=/head/; revision=104073
2001-09-23Turn on WARNS?= 2 for libdevstat.Kenneth D. Merry
Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru> Notes: svn path=/head/; revision=83868
2001-08-04Add some features to libdevstat, and overhaul the interface a bit:Thomas Moestl
1.) prefix all functions in the library with devstat_ (compatability functions are available for all functions that were chaned in an incompatible way, but are deprecated). 2.) Add a pointer to a kvm_t as the first argument to functions that used to get their information via sysctl; they behave the same as before when NULL is passed as this argument, otherwise, the information is obtained via libkvm using the supplied handle. 3.) Add a new function, devstat_compute_statistics(), that is intended to replace the old compute_stats() function. It offers more statistics data, and has a more flexible interface. libdevstat does now require libkvm; a library depedency is added, so that libkvm only needs to be explicitely specified for statically linked programs. The library major version number is bumped. Submitted by: Sergey A. Osokin <osa@freebsd.org.ru>, ken (3) Reviewed by: ken Notes: svn path=/head/; revision=81133
2001-05-18Removed -I${.CURDIR}/.../sys from CFLAGS.Ruslan Ermilov
Notes: svn path=/head/; revision=76812
2001-03-27MAN[1-9] -> MAN.Ruslan Ermilov
Notes: svn path=/head/; revision=74870
2000-01-14Replace beforeinstall target with new variables used by .mk system.Rodney W. Grimes
Reviewed by: marcel, and make world Notes: svn path=/head/; revision=55955
1999-06-18Add a MAINTAINER line to modules that I maintain.Kenneth D. Merry
Suggested by: brian, markm Notes: svn path=/head/; revision=47993
1999-01-06add MLINKs for all the functions covered by the manpageDavid E. O'Brien
Notes: svn path=/head/; revision=42330
1998-09-15Device statistics library. Used by iostat, vmstat, and systat toJustin T. Gibbs
format and analyze the output of the new device statistics sysctls. Submitted by: "Kenneth D. Merry" <ken@FreeBSD.org> Notes: svn path=/head/; revision=39211