New and Changed Commands
All kernel debugger commands work as before, but a few have been modified
to display or use multiprocessor-specific information. New commands have
also been added.
The new and changed commands are:
- DP
(processor status)
The .DP
command has been added to dump out a processor control block verbosely,
that is, to display a processor's status. The command takes as an argument:
- Displays status based on the real current slot
- Displays status based on the currently selected
slot
- based processor number
Displays status
for a specific processor. .DP 3 would display the status of processor
3.
blank
Displays the status of all processors.
.DL (display processor
spinlocks)
The .DL command has been added
to display the spinlocks owned by a particular processor. Valid arguments
are:
- Displays spinlocks based on the real current slot
#
Displays spinlocks based on
the currently selected slot
0-based processor number
Displays spinlocks
for a specific processor. .DL 1 would display the spinlocks held
on processor 1.
Address of a spinlock
Displays a specific
spinlock.
blank
.DS
Dumps the Inter-Processor Interrupt (IPI) statistics
for each processor, including the IPI type and IPI delivery method.
.DSH
Dumps the IPI history, which is the last 256
IPIs generated in the system. The source, destination, and type of the
IPI are displayed as well as the IPI delivery method and the address and
symbol name where the IPI was generated.
.PQ
Dumps the scheduler's priority queues based
on the debugger's slot number.
.R and R
(register commands)
The register commands have
been enhanced to indicate which processor the currently selected slot is
running on. This information is displayed at the end of the third register
line in the form p=xxyy where xx is the 1-based processor
number, and yy are the flags. A processor number of 00 means that
the currently selected slot is not running on any processor, or is blocked.
The flags are:
s
processor is currently spinning.
r
processor is attempting to grab the
ring 0 suspend lock.
.SS (change
current slot)
The .SS command has been modified
to reference the proper PSA (processor save area) when displaying a variable
on a different processor. value of that variable on that particular processor).
.S
The .S
command is now identical to the .SS command. The PLMA is displayed
properly for each processor.
[Back: Kernel Debugger]
[Next: KDB Communications Protocol]