Entries:
Comments:
Posts:

Loading User Information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading User Information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

Defrag Tools: #41 - WPT - Command Line

Download

Right click “Save as…”

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

Tags:

Follow the Discussion

Remove this comment

Remove this thread

close

Comments Closed

Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.