|
|
NAME
curlock - Print the current lock stack
SYNOPSIS
curlock
curlock integer
DESCRIPTION
The curlock macro displays the state of a lock stack.
With no argument, curlock displays the lock stack of the currently selected cpu.
Curlock may also be given a numeric argument, in which case the locks for that cpu number will be displayed.
Typical output looks like this:
S> curlock 0 curlock stack for cpu 0 [D15F0D24] (D15F0D24) type 07: MUTEX EXCLUSIVE SPIN SLEEP SPL lock 00000000 processor 00000000 use_count 00000001 spinners 00000000 wake_one 00000000 wake_all 00000000 sleep_on_busy 00 flags 00: debug file_lkinfo locker 00000000 unlocker 00000000 [D172762C] (D172762C) type 0A: MUTEX EXCLUSIVE SLEEP RECURSIVE lock 00000000 processor 00000000 use_count 00000001 spinners 00000000 wake_one 00000000 wake_all 00000000 sleep_on_busy 00 flags 00: debug vno_lkinfo locker 00000000 unlocker 00000000 [D1670B2C] (D1670B2C) type 0A: MUTEX EXCLUSIVE SLEEP RECURSIVE lock 00000000 processor 00000000 use_count 00000001 spinners 00000000 wake_one 00000000 wake_all 00000000 sleep_on_busy 00 flags 00: debug vno_lkinfo locker 00000000 unlocker 00000000 S> curlock 1 curlock stack for cpu 1 curlock stack is empty