Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 May 2011 12:49:16 -0700
From:      Vijay Singh <vijju.singh@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   gdb scripts for mbuf leaks
Message-ID:  <BANLkTikM3k62JM7zqt=c68xgbRovuYzhqQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi, I am trying to track down an mbuf leak caused by an in-kernel
custom application. Does anyone here have any gdb scripts that would
traverse the zone (zone mbuf in this case) and print out all objects
that are currently allocated?

-vijay

PS: I see the count of mbufs (current/cache/total) going up constantly.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTikM3k62JM7zqt=c68xgbRovuYzhqQ>