Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2003 15:34:57 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Mike Silbersack <silby@silby.com>
Cc:        current@freebsd.org
Subject:   RE: show locks w/o ddb?
Message-ID:  <XFMail.20030730153457.jhb@FreeBSD.org>
In-Reply-To: <20030730021052.P88169@odysseus.silby.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 30-Jul-2003 Mike Silbersack wrote:
> 
> This may be a dumb question, but is there a way to call whatever "show
> locks" calls from within the kernel, similar to how we can call
> backtrace()?

If you have DDB compiled in you could call the appropriate
witness function, though I think it is a static function atm.

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030730153457.jhb>