Date: Thu, 4 Feb 2010 07:55:42 +0000 (UTC) From: Marko Zec <zec@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net vnet.c vnet.h Message-ID: <201002040755.o147tsBN002590@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
zec 2010-02-04 07:55:42 UTC
FreeBSD src repository
Modified files:
sys/net vnet.c vnet.h
Log:
SVN rev 203483 on 2010-02-04 07:55:42Z by zec
Instead of spamming the console on each curvnet recursion event, print
out each such call graph only once, along with a stack backtrace. This
should make kernels built with VNET_DEBUG reasonably usable again in
busy / production environments.
Introduce a new DDB command "show vnetrcrs" which dumps the whole log
of distinctive curvnet recursion events. This might be useful when
recursion reports get burried / lost too deep in the message buffer.
In the later case stack backtraces are not available.
Reviewed by: bz
MFC after: 3 days
Revision Changes Path
1.11 +71 -0 src/sys/net/vnet.c
1.29 +3 -3 src/sys/net/vnet.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002040755.o147tsBN002590>
