Defrag Tools: #46 - WPT - Driver Analysis | Defrag Tools

  • Thread starter Thread starter Larry Larsen, Andrew
  • Start date Start date
L

Larry Larsen, Andrew

Guest
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:32] - xperf -on PROC_THREAD+LOADER+PROFILE+DRIVER -stackwalk ...
[01:27] - xPerfView - Driver Delays
[05:09] - WPA
[05:50] - Device Stack & IRPs
[09:14] - Advanced Settings (Filter)
[12:14] - Long Duration example
[13:30] - Zoom and then look at other graphs - e.g. CPU Usage (Sampled)
[15:22] - Summary

Example: "xperf - Collect Drivers.cmd"

@echo off
echo Press a key when ready to start...
pause

echo .
echo ...Capturing...
echo .

xperf -on PROC_THREAD+LOADER+PROFILE+DRIVER -stackwalk Profile -BufferSize 1024 -MinBuffers 256 -MaxBuffers 256 -MaxFile 256 -FileMode Circular

echo Press a key when you want to stop...
pause
echo .
echo ...Stopping...
echo .

xperf -stop -d driver.etl

9219a333e3453cc2ddc343fd721e4ddf.gif


Continue reading...
 
Back
Top