This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: Net stack debug patch
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Nick Garnett <nickg at ecoscentric dot com>
- Cc: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: 14 Mar 2003 16:14:08 -0700
- Subject: Re: Net stack debug patch
- References: <m3of4dn3lm.fsf@miso.calivar.com>
On Fri, 2003-03-14 at 12:35, Nick Garnett wrote:
>
> This patch adds some code to record and display information about all
> the mbufs in the FreeBSD stack.
>
> Currently it is controlled by the CYGDBG_NET_SHOW_MBUFS option.
> Whenever the stack runs out of mbufs in eth_drv_recv() it prints out a
> list of mbufs showing what they are all doing.
>
> I wrote this code to debug a problem I was having and thought it might
> be generally useful.
>
> Opinions? Should it go in?
>
You know me - I'm always interested in more [debug] information :-)
By all means, apply this, and the QUICC changes as well.
Thanks.
--
------------------------------------------------------------
Gary Thomas |
MLB Associates | Consulting for the
+1 (970) 229-1963 | Embedded world
http://www.mlbassoc.com/ |
email: <gary at mlbassoc dot com> |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------