!rcdrkd.rcdrlogdump
L'estensione !rcdrkd.rcdrlogdump visualizza i messaggi di traccia di tutti i buffer di registrazione di un driver o di un set di driver.
!rcdrkd.rcdrlogdump DriverName [DriverName ...]
!rcdrkd.rcdrlogdump DriverName -a Address
Parametri
DriverName
Nome di un driver, non inclusa l'estensione .sys.
Indirizzo
Se si specifica Address, questo comando visualizza i messaggi di traccia dal buffer di log in corrispondenza dell'indirizzo specificato.
DLL
Rcdrkd.dll
Esempi
L'esempio seguente mostra una parte dell'output del comando !rcdrlogdump.
3: kd> !rcdrlogdump usbxhci.sys
Trace searchpath is:
Trace format prefix is: %7!u!: %!FUNC! -
Log dump command Log ID Size
================ ====== ====
!rcdrlogdump usbxhci -a fffffa8005ff2b60 03 SLT02 DCI04 1024
!rcdrlogdump usbxhci -a fffffa8005ff2010 03 SLT02 DCI03 1024
!rcdrlogdump usbxhci -a fffffa8005b36010 03 SLT01 DCI03 1024
!rcdrlogdump usbxhci -a fffffa8005b379e0 03 SLT01 DCI04 1024
!rcdrlogdump usbxhci -a fffffa8005b33350 03 SLT02 DCI01 1024
!rcdrlogdump usbxhci -a fffffa8005b2bb60 03 SLT01 DCI01 1024
!rcdrlogdump usbxhci -a fffffa8005a2bb60 03 CMD 1024
!rcdrlogdump usbxhci -a fffffa8005a1ab60 03 INT00 1024
!rcdrlogdump usbxhci -a fffffa8005085330 03 RUNDOWN 512
!rcdrlogdump usbxhci -a fffffa8005311780 03 1033 0194 1024
Trying to extract TMF information from - C:\ProgramData\dbg\sym\usbxhci.pdb\D4C85D5D3E2843879EDE226A334D69552\usbxhci.pdb
--- start of log ---
03 RUNDOWN 6: Controller_RetrievePciData - PCI Bus.Device.Function: 48.0.0
03 RUNDOWN 7: Controller_RetrievePciData - PCI: VendorId 0x1033 DeviceId 0x0194 RevisionId 0x03
03 RUNDOWN 8: Controller_QueryDeviceFlagsFromKse - Found DeviceFlags 0x101800 for USBXHCI:PCI\VEN_1033&DEV_0194
03 RUNDOWN 9: Controller_RetrieveDeviceFlags - DeviceFlags 0x101804
...
03 SLT01 DCI03 89911: TransferRing_DispatchEventsAndReleaseLock - 1.3.0: Mapping Complete : Path 1 TransferRingState_Idle Events 0x00000000
03 SLT01 DCI04 89912: TransferRing_DispatchEventsAndReleaseLock - 1.4.0: Mapping Begin : Path 3 TransferRingState_Mapping Events 0x00000000
03 SLT01 DCI04 89913: TransferRing_DispatchEventsAndReleaseLock - 1.4.0: Mapping Complete : Path 3 TransferRingState_Idle Events 0x00000000
---- end of log ----
L'output precedente contiene messaggi provenienti da diversi buffer di log. Per visualizzare i messaggi da un singolo buffer di log, usare il parametro -a e specificare l'indirizzo del buffer di log. Nell'esempio seguente viene illustrato come visualizzare i messaggi dal buffer di log in corrispondenza dell'indirizzo fffffa8005ff2b60.
3: kd> !rcdrlogdump usbxhci -a fffffa8005ff2b60
Trace searchpath is:
Trace format prefix is: %7!u!: %!FUNC! -
Trying to extract TMF information from - C:\ProgramData\dbg\sym\usbxhci.pdb\D4C85D5D3E2843879EDE226A334D69552\usbxhci.pdb
--- start of log ---
70914: TransferRing_DispatchEventsAndReleaseLock - 2.4.0: Mapping Complete : Path 1 TransferRingState_Idle Events 0x00000000
70916: TransferRing_TransferEventHandler - 2.4.0: TransferEventTrb 0xFFFFFA8005A3FBF0 CC_SUCCESS Length 31 EventData 1 Pointer 0xfffffa8005b96210
70917: TransferRing_TransferEventHandler - 2.4.0: WdfRequest 0x0000057FFA469FD8 transferData 0xFFFFFA8005B961B0
70918: TransferRing_TransferComplete - 2.4.0: WdfRequest 0x0000057FFA469FD8 completed with STATUS_SUCCESS BytesProcessed 31
70922: TransferRing_DispatchEventsAndReleaseLock - 2.4.0: Mapping Begin : Path 3 TransferRingState_Mapping Events 0x00000000
70923: TransferRing_DispatchEventsAndReleaseLock - 2.4.0: Mapping Complete : Path 3 TransferRingState_Idle Events 0x00000000
81064: TransferRing_DispatchEventsAndReleaseLock - 2.4.0: Mapping Begin : Path 1 TransferRingState_Mapping Events 0x00000000
81065: TransferRing_StageRetrieveFromRequest - 2.4.0: WdfRequest 0x0000057FFA469FD8 TransferData 0xFFFFFA8005B961B0 Function 0x9 Length 31 TransferSize 31 BytesProcessed 0
81066: TransferRing_DispatchEventsAndReleaseLock - 2.4.0: Mapping Complete : Path 1 TransferRingState_Idle Events 0x00000000
81068: TransferRing_TransferEventHandler - 2.4.0: TransferEventTrb 0xFFFFFA8005A40270 CC_SUCCESS Length 31 EventData 1 Pointer 0xfffffa8005b96210
81069: TransferRing_TransferEventHandler - 2.4.0: WdfRequest 0x0000057FFA469FD8 transferData 0xFFFFFA8005B961B0
81070: TransferRing_TransferComplete - 2.4.0: WdfRequest 0x0000057FFA469FD8 completed with STATUS_SUCCESS BytesProcessed 31
81074: TransferRing_DispatchEventsAndReleaseLock - 2.4.0: Mapping Begin : Path 3 TransferRingState_Mapping Events 0x00000000
81075: TransferRing_DispatchEventsAndReleaseLock - 2.4.0: Mapping Complete : Path 3 TransferRingState_Idle Events 0x00000000
---- end of log ----