Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2005 09:51:46 -0700
From:      Sam Leffler <sam@errno.com>
To:        Pawel Jakub Dawidek <pjd@freebsd.org>
Cc:        hackers@freebsd.org
Subject:   Re: JKH Task: Stack saving/tracing functionality.
Message-ID:  <425AAB22.3020905@errno.com>
In-Reply-To: <20050411160729.GP837@darkness.comp.waw.pl>
References:  <20050411085956.Y28571@mail.chesapeake.net> <20050411160729.GP837@darkness.comp.waw.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Pawel Jakub Dawidek wrote:
> On Mon, Apr 11, 2005 at 09:08:33AM -0400, Jeff Roberson wrote:
> +> I have proprietary code from a previous employer of mine that implements
> +> some really useful debugging features.  I'm looking for someone who is
> +> interested in cleaning it up, making it architecture indepenent, and
> +> getting it running on current.  The code basically allows you to save and
> +> manipulate stack information.
> +> 
> +> This would be very useful for things like lockmgr, which right now we
> +> can't really pass file:line information down to without making #ifdef mess
> +> of all of the APIs as options DEBUG_LOCKs does somewhat today.  Lockmgr
> +> would have a buffer which contained the last N EIPs up the callstack, and
> +> this information could be queried and printed using a simple api.
> +> 
> +> Interested parties please email me.  We can discuss this and I can provide
> +> source.
> 
> It would be probably useful for wintess, so when first order is stored,
> it can be stored with stack and on LOR, both backtraces can be shown.
> 

There is a similar #ifdef mess in net80211 for refcnt debugging.

	Sam



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?425AAB22.3020905>