freebsd with flexible iflib nic queues
Go to file
Robert Watson 0cddce4989 Add libmemstat(3), a library for use by debugging and monitoring
applications in tracking kernel memory statistics.  It provides an
abstracted interface to uma(9) and malloc(9) statistics, wrapped
around the recently added binary stream sysctls for the allocators.

Using this interface, it is easy to build monitoring tools, query
specific memory types for usage information, etc.  Facilities are
provided for binding caller-provided data to memory types,
incremental updates of memory types, and queries that span multiple
allocators.

Support for additional allocators is (relatively) easy to add.

The API for libmemstat(3) will probably change some over time as
consumers are written, and requirements evolve.  It is written to
avoid encoding ABIs for data structure layout into consuming
applications for this reason.

MFC after:	1 week
2005-07-14 17:40:02 +00:00
bin Fix a bug when shell expansion is done against dangling symlinks, by 2005-07-07 18:10:33 +00:00
contrib resolve merge conflicts 2005-07-11 04:14:02 +00:00
crypto This is sort of an MFS. Peter made these changes to the RELENG_* 2005-07-07 14:16:38 +00:00
etc Remove obsolete ttya/ttyb entries and replace with ttyy0/1. 2005-07-14 07:08:49 +00:00
games Correct an error in the previous revision. RAND_MAX is the maximum value 2005-06-22 15:24:00 +00:00
gnu Adjust for HEAD being 7.0 now. 2005-07-11 15:50:29 +00:00
include MFP4: 2005-06-09 19:45:09 +00:00
kerberos5 This is sort of an MFS. Peter made these changes to the RELENG_* 2005-07-07 14:16:38 +00:00
lib Add libmemstat(3), a library for use by debugging and monitoring 2005-07-14 17:40:02 +00:00
libexec Clean out the leftovers from the i386_set_gsbase() TLS conversion. 2005-06-29 23:15:36 +00:00
release Adjust for HEAD being 7.0 now. 2005-07-11 15:50:29 +00:00
rescue Fix path to dhclient-script and reconnect to build. 2005-06-07 04:51:24 +00:00
sbin Add symbolic names for the IFF_PPROMISC and IFF_NEEDSGIANT flags 2005-07-13 21:23:40 +00:00
secure Revert the commits that made libssh an INTERNALLIB; they caused too much 2005-06-07 09:31:28 +00:00
share Don't start a sentence with an identifier. 2005-07-13 21:12:06 +00:00
sys Introduce a new sysctl, vm.zone_stats, which exports UMA(9) allocator 2005-07-14 16:35:13 +00:00
tools Fix a minor buglet making the code match the comment. Fractional cylinders 2005-07-14 12:20:02 +00:00
usr.bin Fix two minor parsing bugs in -S processing: 2005-07-13 15:56:30 +00:00
usr.sbin Fix spelling error in sample command. 2005-07-13 13:18:17 +00:00
COPYRIGHT Complete 2005 transition. 2005-01-01 07:29:20 +00:00
LOCKS Document the previously existing RELENG_[45]_* security branch locks. 2005-06-02 22:57:30 +00:00
MAINTAINERS Since there's no emulation person, move the entry to upper section 2005-06-04 16:56:35 +00:00
Makefile Provide 32-bit runtime support on amd64 as a separate distribution, lib32. 2005-06-16 18:16:14 +00:00
Makefile.inc1 Exclude build32 target from the list of toolchain and kernel-toolchain 2005-07-07 00:58:41 +00:00
README
UPDATING Note RELENG_6 branch and minor related tweaks. 2005-07-11 15:46:45 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on:
$FreeBSD$

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel, the kernel-modules and the contents of /etc.  The
``buildkernel'' and ``installkernel'' targets build and install
the kernel and the modules (see below).  Please see the top of
the Makefile in this directory for more information on the
standard build targets and compile-time flags.

Building a kernel is a somewhat more involved process, documentation
for which can be found at:
   http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html
And in the config(8) man page.
Note: If you want to build and install the kernel with the
``buildkernel'' and ``installkernel'' targets, you might need to build
world before.  More information is available in the handbook.

The sample kernel configuration files reside in the sys/<arch>/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file NOTES contains entries and documentation for all possible
devices, not just those commonly used.  It is the successor of the ancient
LINT file, but in contrast to LINT, it is not buildable as a kernel but a
pure reference and documentation file.


Source Roadmap:
---------------
bin		System/user commands.

contrib		Packages contributed by 3rd parties.

crypto		Cryptography stuff (see crypto/README).

etc		Template files for /etc.

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberos5	Kerberos5 (Heimdal) package.

lib		System libraries.

libexec		System daemons.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		Cryptographic libraries and commands.

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html