RE: show locks w/o ddb?
From: John Baldwin (jhb_at_FreeBSD.org)
Date: 07/30/03
- Previous message: John Baldwin: "RE: PATCH: Disable 6 byte commands for USB, firewire, ATAPICAM"
- In reply to: Mike Silbersack: "show locks w/o ddb?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Jul 2003 15:34:57 -0400 (EDT) To: Mike Silbersack <silby@silby.com>
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/ _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
- Previous message: John Baldwin: "RE: PATCH: Disable 6 byte commands for USB, firewire, ATAPICAM"
- In reply to: Mike Silbersack: "show locks w/o ddb?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]