#
a6fe717c |
|
24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
libexec: Automated cleanup of cdefs and other formatting Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row. Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/ Sponsored by: Netflix
|
#
43581d7b |
|
23-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
libexec: Remove ancient SCCS tags. Remove ancient SCCS tags from the tree, automated scripting, with two minor fixup to keep things compiling. All the common forms in the tree were removed with a perl script. Sponsored by: Netflix
|
#
eba230af |
|
25-Sep-2023 |
John Baldwin <jhb@FreeBSD.org> |
Purge more stray embedded $FreeBSD$ strings These do not use __FBSDID but instead use bare char arrays. Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41957
|
#
e4253ae8 |
|
18-Apr-2023 |
John Baldwin <jhb@FreeBSD.org> |
rpc.rstatd/rwalld: Use more accurate function pointer types. Reviewed by: zlei, rmacklem Differential Revision: https://reviews.freebsd.org/D39521
|
#
83c9dea1 |
|
17-Apr-2017 |
Gleb Smirnoff <glebius@FreeBSD.org> |
- Remove 'struct vmmeter' from 'struct pcpu', leaving only global vmmeter in place. To do per-cpu stats, convert all fields that previously were maintained in the vmmeters that sit in pcpus to counter(9). - Since some vmmeter stats may be touched at very early stages of boot, before we have set up UMA and we can do counter_u64_alloc(), provide an early counter mechanism: o Leave one spare uint64_t in struct pcpu, named pc_early_dummy_counter. o Point counter(9) fields of vmmeter to pcpu[0].pc_early_dummy_counter, so that at early stages of boot, before counters are allocated we already point to a counter that can be safely written to. o For sparc64 that required a whole dummy pcpu[MAXCPU] array. Further related changes: - Don't include vmmeter.h into pcpu.h. - vm.stats.vm.v_swappgsout and vm.stats.vm.v_swappgsin changed to 64-bit, to match kernel representation. - struct vmmeter hidden under _KERNEL, and only vmstat(1) is an exclusion. This is based on benno@'s 4-year old patch: https://lists.freebsd.org/pipermail/freebsd-arch/2013-July/014471.html Reviewed by: kib, gallatin, marius, lidl Differential Revision: https://reviews.freebsd.org/D10156
|
#
62cd9e48 |
|
16-Mar-2017 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Remove unused vmmeter.
|
#
902d9eaf |
|
01-Sep-2012 |
Ed Schouten <ed@FreeBSD.org> |
Rework all non-contributed files that use `struct timezone'. This structure is not part of POSIX. According to POSIX, gettimeofday() has the following prototype: int gettimeofday(struct timeval *restrict tp, void *restrict tzp); Also, POSIX states that gettimeofday() shall return 0 (as long as tzp is not used). Remove dead error handling code. Also use NULL for a nul-pointer instead of integer 0. While there, change all pieces of code that only use tv_sec to use time(3), as this provides less overhead.
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
fe0506d7 |
|
09-Mar-2010 |
Marcel Moolenaar <marcel@FreeBSD.org> |
Create the altix project branch. The altix project will add support for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting is a two-module system, consisting of a base compute module and a CPU expansion module. SGI's NUMAFlex architecture can be an excellent platform to test CPU affinity and NUMA-aware features in FreeBSD.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
87f2ff4f |
|
10-Jun-2008 |
John Baldwin <jhb@FreeBSD.org> |
Use sysctl to fetch stats from the kernel instead of reading variables directly via libkvm. PR: kern/122875, bin/123014 Tested by: Danny Braniss danny cs.huji.ac.il MFC after: 1 week
|
#
bd273f0c |
|
01-Jun-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Add the variable's type to the declaration.
|
#
7194d335 |
|
15-Mar-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Run a revision of the devstat interface: 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
|
#
a57042df |
|
15-Mar-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Update to current devstat API.
|
#
fd3a502d |
|
16-Feb-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add #include <sys/resource.h>
|
#
1b16b289 |
|
16-Feb-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Remove <sys/dkstat.h> #include
|
#
821aa3b4 |
|
02-Oct-2002 |
Mike Barcroft <mike@FreeBSD.org> |
Rename local function havedisk() to haveadisk() to avoid conflict a with another function by the same name in a system header.
|
#
7309e024 |
|
18-Aug-2002 |
Bruce Evans <bde@FreeBSD.org> |
Include <nlist.h> for nlist interfaces instead of depending on namespace pollution in <kvm.h>.
|
#
f249dbcc |
|
28-Apr-2002 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Spell void * as void * rather than caddr_t. This is complicated by the fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs
|
#
a174e5b1 |
|
06-Feb-2002 |
Warner Losh <imp@FreeBSD.org> |
o __P removal o use new style prototypes and function definitions o signal handlers need an argument. Mark it unused.
|
#
b9d45ceb |
|
16-Oct-2001 |
Bill Fenner <fenner@FreeBSD.org> |
The interface index space may be sparsely populated (e.g. when an interface in the middle is if_detach()'d). Return (and handle) ENOENT when the ifmib(4) is accessed for a nonexistent interface. MFC after: 14 days
|
#
685233ab |
|
02-Aug-2001 |
Jonathan Chen <jon@FreeBSD.org> |
Fixes file descriptor leak in standalone mode. Prevents simultaneous calls to updatestat() as function is not reentrant. PR: bin/24857 Submitted by: Martin Butkus <mb@bagheera.thgwf.de> MFC after: 1 month
|
#
7f3dea24 |
|
27-Aug-1999 |
Peter Wemm <peter@FreeBSD.org> |
$Id$ -> $FreeBSD$
|
#
b994e535 |
|
08-Oct-1998 |
Kenneth D. Merry <ken@FreeBSD.org> |
Fix a memory leak in rpc.rstatd that shows up when it's run in standalone mode. (i.e., not from inetd) PR: bin/8212
|
#
8223b746 |
|
16-Sep-1998 |
Doug Rabson <dfr@FreeBSD.org> |
Work around an alpha compiler bug. Reviewed by: Kenneth D. Merry <ken@plutotech.com>
|
#
b2dfb1f9 |
|
15-Sep-1998 |
Justin T. Gibbs <gibbs@FreeBSD.org> |
Update system to new device statistics code. Submitted by: "Kenneth D. Merry" <ken@plutotech.com> mike@smith.net.au (Mike Smith)
|
#
e4a0e42b |
|
19-Jan-1998 |
Bill Paul <wpaul@FreeBSD.org> |
Make these programs compile and work correctly now that /usr/include/rpcsvc has been ANSI-fied. Pointed out by: bde
|
#
859c5407 |
|
07-Jan-1998 |
Philippe Charnier <charnier@FreeBSD.org> |
Remove unused #include. Display if inetd started us in case of failure.
|
#
754c3c57 |
|
26-Nov-1997 |
Philippe Charnier <charnier@FreeBSD.org> |
Remove \n at end of syslog string. -Wall cleaning. Cosmetics in man page.
|
#
9e522f7a |
|
22-Feb-1997 |
Peter Wemm <peter@FreeBSD.org> |
Revert $FreeBSD$ to $Id$
|
#
1130b656 |
|
14-Jan-1997 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
Make the long-awaited change from $Id$ to $FreeBSD$ 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.
|
#
702a1d01 |
|
03-Jan-1997 |
Garrett Wollman <wollman@FreeBSD.org> |
Update to match changes in <net/if.h>.
|
#
e831f308 |
|
11-Dec-1996 |
Garrett Wollman <wollman@FreeBSD.org> |
Convert this program to use sysctl rather than kvm for some of its statistics. Unfortunately, the coverage of sysctl isn't good enough to do all of them :-( .
|
#
6c06b4e2 |
|
29-May-1995 |
Rodney W. Grimes <rgrimes@FreeBSD.org> |
Remove trailing whitespace.
|
#
3e54d2c8 |
|
15-Oct-1994 |
David Greenman <dg@FreeBSD.org> |
Updated to changes in struct vmmeter. There is a slight bogosity here: "pageins/outs" now refers to vnode paging.
|
#
0c0b205c |
|
28-Aug-1994 |
Geoff Rehmet <csgr@FreeBSD.org> |
rstatd -- from FreeBSD-1.1.5.1, with changes for 4.4-Lite kvm interface. Original rstatd by John Brezak Submitted by: Geoff.
|