show locks w/o ddb?
John Baldwin
jhb at FreeBSD.org
Wed Jul 30 12:34:41 PDT 2003
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/
More information about the freebsd-current
mailing list