Defrag Tools: #41 - WPT - Command Line

Sign in to queue

Description

In this episode of Defrag Tools, Andrew Richards, Chad Beeder and Larry Larsen continue walking you through the Windows Performance Toolkit (WPT). Example xPerf scripts.

Resources:
Defrag Tools: #23 - Windows 8 SDK
Defrag Tools: #29 - WinDbg - ETW Logging
Windows Performance Analysis Developer Center
Windows Performance Toolkit
Channel 9 Videos
NTDebugging Blog Article
PFE Blog Series

Timeline:
[00:00] - UI vs. Command Line
[02:15] - wpr.exe -profiles
[02:48] - wpr.exe -profiledetails <profile>
[05:30] - wpr.exe -start <profile>
[06:06] - wpr.exe -stop result.etl
[09:25] - xperf.exe -help
[09:30] - xperf.exe -providers kg
[12:18] - xperf.exe -providers kf
[16:47] - xperf.exe -on <FLAG+FLAG+...>
[18:17] - xperf.exe -stop -d result.etl
[21:42] - xperf.exe ... -BufferSize <Size in KB>
[25:55] - xperf.exe ... -MinBuffers <Number> -MaxBuffers <Number>
[27:08] - xperf.exe ... -MaxFile <Size in KB>
[27:44] - xperf.exe ... -FileMode Circular
[30:42] - xperf.exe -merge <in-file1> <in-file2> <out-file>
[32:28] - Andrew's Scripts on SkyDrive [link]
[33:15] - xperf.exe -help stackwalk
[35:10] - xperf.exe ... -stackwalk <Stack+Stack+...>

Examples:
wpr.exe -start GeneralProfile
pause
wpr.exe -stop result.etl

xperf.exe -on Base -stackwalk Profile -BufferSize 1024 -MinBuffers 256 -MaxBuffes 256 -MaxFile 256 -FileMode Circular
pause
xperf.exe -stop -d result.etl

Embed

Download

Download this episode

The Discussion

Add Your 2 Cents