ETW provider for "Window in Focus" graph in Windows Performance Analyser

StackOverflow https://stackoverflow.com/questions/15479485

  •  24-03-2022
  •  | 
  •  

Pergunta

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?

Foi útil?

Solução

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

xperf -start uisession -on Microsoft-Windows-Win32k

Outras dicas

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top