Intel® System Debugger User Guide
Extension Commands for Decoding Intel(R) Processor Trace
After code execution is traced, the extension provides the !decode command to download the trace, decode it, and display it. The
In general, the
When source line annotation is requested, the beginning of the source line shows the source location as
To show timestamp information in decoded output, use the
/cpuid_0x15_eax and/cpuid_0x15_ebx - the Core Crystal Clock frequency value returned by the CPUID instruction is used for decoding.You have to specify both options for this to work.
/nom_freq - the nominal frequency specified in the model-specific registerMSR_PLATFORM_INFO[15:8] is used for decoding.
!decode [/info] [/src] [/srconly] [/symbols] [/timestamps] [/offline] [/topa] [/family <expr>] [/model <expr>] [/stepping <expr>] [/cpuid_0x15_eax <expr>] [/cpuid_0x15_ebx <expr>] [/output_base <expr>] [/output_mask <expr>] [<n>] [<start>] [<end>] /info - Get decode information /src - Interleave source lines (if available) /srconly - Show only source lines (if available) /symbols - Show export symbol names (if available) /timestamps - Show timestamps (if available) <n> - Number of lines to display; if positive print first n lines, if negative print last n lines (cannot be used together with <start> and <end>) (space-delimited, base 10) <start> - Start of line number range (use together with <end>) (space-delimited, base 10) <end> - End of line number range (use together with <start>) (space-delimited, base 10) /family <expr> - Extended CPU Family ID to be used during decode (space-delimited) /model <expr> - Extended CPU Model ID to be used during decode (space-delimited) /stepping <expr> - CPU Stepping ID to be used during decode (space-delimited) /cpuid_0x15_eax <expr> - CTC frequency configuration(cpuid_eax(0x15, 0)) (space-delimited) /cpuid_0x15_ebx <expr> - CTC frequency configuration(cpuid_ebx(0x15, 0)) (space-delimited) /offline - Decode Intel(R) Processor Trace data without connection to a target. (Following values have to be specified) /output_base <expr> - Start address of available buffer (MSR 0x560) (space-delimited) /output_mask <expr> - Size of available buffer (MSR 0x561) (space-delimited) /topa - Specify ToPA output config option (single range is default) Decode Intel(R) Processor Trace and display reconstructed execution history