Why is there no call stack for "generic events"

578 views Asked by At

I did read

Capture callstack and events in Xperf

and other sources, but the most straightforward thing I'd like to do is simply display the "Stack" column in WPA's "Generic events" graph.

WPA, Generic events graph

Why is it not there? Sure, because stack information is not available, but why? I do know "xperf -help stackwalk" but what's listed is not what I'm looking for. For example,

xperf -on networktrace -stackwalk networktrace

is not possible to get the callstack for network events. Why? I must be missing something. Thanks!

1

There are 1 answers

8
magicandre1981 On

Activating stacks for user mode events has this syntax: PROVIDER:KEYWORD:LEVEL:'stack'

You have to activate stacks this way:

"C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\xperf.exe" -start UserLogger -on Microsoft-Windows-Kernel-Network:::'stack'+Microsoft-Windows-Networking-Correlation:::'stack'+Microsoft-Windows-TCPIP:::'stack' -buffersize 2048 -f User.etl