show locks w/o ddb?

2003-07-30 Thread Mike Silbersack

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()?

Thanks,

Mike Silby Silbersack
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: show locks w/o ddb?

2003-07-30 Thread John Baldwin

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 [EMAIL PROTECTED]http://www.FreeBSD.org/~jhb/
Power Users Use the Power to Serve!  -  http://www.FreeBSD.org/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]