From 28430bf7622073052bc8b00336be5b890c8be1d2 Mon Sep 17 00:00:00 2001 From: julian Date: Tue, 29 Apr 2008 21:23:21 +0000 Subject: 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 --- sys/conf/NOTES | 5 +++++ sys/conf/options | 1 + 2 files changed, 6 insertions(+) (limited to 'sys/conf') 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 -- cgit v1.1