Question

Windows Performance Analyser has a graph called "Window in Focus". What provider/trace flag should I specify in xperf command line to get such a graph?

Was it helpful?

Solution

"Window in Focus" information is provided by Microsoft-Windows-Win32k provider. For example:

xperf -start uisession -on Microsoft-Windows-Win32k

OTHER TIPS

I use this, which also captures the required data:

xperf -start perf!GeneralProfiles.InBuffer && timeout -1 && xperf -stop perf!GeneralProfiles.InBuffer Trace.etl

This captures most data you need.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top