"Window in Focus" information is provided by Microsoft-Windows-Win32k provider. For example:
xperf -start uisession -on Microsoft-Windows-Win32k
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?
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.