RE: show locks w/o ddb?

From: John Baldwin (jhb_at_FreeBSD.org)
Date: 07/30/03

  • Next message: David Gilbert: "Upgrade to 5.1 fixes wi0 accesspoint mode fubar."
    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"
    

  • Next message: David Gilbert: "Upgrade to 5.1 fixes wi0 accesspoint mode fubar."