diff options
author | julian <julian@FreeBSD.org> | 2008-04-29 21:23:21 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2008-04-29 21:23:21 +0000 |
commit | 28430bf7622073052bc8b00336be5b890c8be1d2 (patch) | |
tree | 6ba703f0f6502f7f9f53ba01297ee4005b9bfd22 /sys/conf | |
parent | bb4f1109f5f4002114a200e8bb7dd35f16cf0ee2 (diff) | |
download | FreeBSD-src-28430bf7622073052bc8b00336be5b890c8be1d2.zip FreeBSD-src-28430bf7622073052bc8b00336be5b890c8be1d2.tar.gz |
Add an option (compiled out by default)
to profile outoing packets for a number of mbuf chain
related parameters
e.g. number of mbufs, wasted space.
probably will do with further work later.
Reviewed by: various
Diffstat (limited to 'sys/conf')
-rw-r--r-- | sys/conf/NOTES | 5 | ||||
-rw-r--r-- | sys/conf/options | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 5aef1fd..4671fce 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -868,7 +868,12 @@ options TCPDEBUG # The MBUF_STRESS_TEST option enables options which create # various random failures / extreme cases related to mbuf # functions. See mbuf(9) for a list of available test cases. +# MBUF_PROFILING enables code to profile teh mbif chains +# exiting the system (via participating interfaces) and +# return a logarithmic histogram of monitored parameters +# (e.g. packet size, wasted space, number of mbufs in chain). options MBUF_STRESS_TEST +options MBUF_PROFILING # Statically Link in accept filters options ACCEPT_FILTER_DATA diff --git a/sys/conf/options b/sys/conf/options index eec0e9d..07a8f45 100644 --- a/sys/conf/options +++ b/sys/conf/options @@ -388,6 +388,7 @@ LIBMBPOOL LIBMCHAIN LIBALIAS MBUF_STRESS_TEST +MBUF_PROFILING NCP NETATALK opt_atalk.h PPP_BSDCOMP opt_ppp.h |