Bewerken

Delen via


!rcdrkd.rcdrsettraceprefix

The !rcdrkd.rcdrsettraceprefix extension sets the trace message prefix.

!rcdrkd.rcdrsettraceprefix TracePrefixString 

Parameters

TracePrefixString
The trace message prefix string.

DLL

Rcdrkd.dll

Remarks

Each message in a recorder log has a prefix that you can control by specifying a trace message prefix string. For more information, see Trace Message Prefix.

Examples

In the following example, the trace message prefix is originally %7!u!: %!FUNC! - . The parameter %7!u! specifies that the prefix includes the message sequence number. The parameter %!FUNC! specifies that the prefix includes the name of the function that generated the message. The example calls !rcdrsettraceprefix to change the prefix string to %7!u!. After that, the log display includes message sequence numbers, but does not include function names.

0: kd> !rcdrlogdump USBXHCI -a 0xfffffa8010737b60
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 ---
405: TransferRing_DispatchEventsAndReleaseLock - 1.8.1: Mapping Begin : Path 1 TransferRingState_Mapping Events 0x00000000
406: TransferRing_StageRetrieveFromRequest - 1.8.1: WdfRequest 0x0000057FEE117A88 TransferData 0xFFFFFA8011EE8700 Function 0x9 Length 500 TransferSize 500 BytesProcessed 0
...
---- end of log ----

0: kd> !rcdrsettraceprefix %7!u!: 
SetTracePrefix: "%7!u!: "
0: kd> !rcdrlogdump USBXHCI -a 0xfffffa8010737b60
Trace searchpath is: 

Trace format prefix is: %7!u!: 
Trying to extract TMF information from - C:\ProgramData\dbg\sym\usbxhci.pdb\D4C85D5D3E2843879EDE226A334D69552\usbxhci.pdb
--- start of log ---
405: 1.8.1: Mapping Begin : Path 1 TransferRingState_Mapping Events 0x00000000
406: 1.8.1: WdfRequest 0x0000057FEE117A88 TransferData 0xFFFFFA8011EE8700 Function 0x9 Length 500 TransferSize 500 BytesProcessed 0
...
---- end of log ----

See also

RCDRKD Extensions