processing

Displays trace post-processing options.

xperf -i <trace file>… [-o output] [-symbols …] [-target {human|machine}] [-a action …[-a action …] …]

Parameters

-itrace file
The trace file to be processed.

-ooutput file
The name of the output file. If not given, stdout is used.

-symbols[options]
Enable and configure symbol decoding support. For more information see symbols.

-target{human|machine}
Select the target audience of the output. The default value is "human".

-quiet
Do not print progress information.

-tle
Process the trace even in the presence of lost events. The acronym TLE stands for tolerate lost events.

-tti
Process the trace even in the presence of time inversions. The acronym TTI stands for tolerate time inversions.

-aaction ...
The actions to take. The default action is to dump the event in text form.

Remarks

The following table describes available actions.

Action Description

boot

Shows boot and shutdown statistics.

bootprefetch

Shows boot-time prefetching information.

cpudisk

Shows CPU/disk activity report.

cswitch

Shows context switch data.

diskio

Shows disk I/O statistics.

diskidlehistogram

Shows all disk activity and idle times in histogram format.

dpcisr

Show DPC/ISR statistics.

drvdelay

Shows driver delays.

dumper

Dumps events in the trace in text form.

filename

Show file names in the trace.

focuschange

Shows the Windows thread focus change events in the trace.

hardfault

Shows hard fault statistics by process and file.

heap

Shows heap information.

marks

Shows marks information.

pagefault

Shows page fault information in the trace.

perfctrs

Shows process performance counters.

pnp

Shows Plug and Play events in the trace.

prefetch

Shows prefetch information.

process

Shows process, thread, and image information.

profile

Shows sampled profiler data.

registry

Shows registry access statistics.

services

Shows service status information.

shutdown

Shows shutdown statistics.

spinlock

Shows information relevant to spinlock activity.

stack

Shows stack information.

suspend

Shows suspend transition information.

sysconfig

Shows system configuration information.

tracestats

Shows trace statistics.

winlogon

Shows Windows logon events in the trace.

If no action is present, dumper is invoked.

Example

The following table shows examples of processing.

xperf -i trace.etl -o out.csv

Dumps the events in trace.etl to the Out.csv file.

xperf -help registry

Prints Help for the registry action.

xperf -i trace.etl -a registry

Prints registry access statistics to stdout.

xperf -i trace32.etl trace64.etl -o out.csv

Dumps the events in Trace32.etl and Trace64.etl to the Out.csv file.

Xperf Options