RE: show locks w/o ddb?

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 30 Jul 2003 15:34:57 -0400 (EDT)
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_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/
Received on Wed Jul 30 2003 - 10:34:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:17 UTC