Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to perform Xperf callstack capture on 64b OS?

I have installed Xperf performance analyzer from Windows SDK and captured a trace as described in the documentation using following command:

xperf -on SysProf -stackwalk profile

Still, the stack trace does not contain any callstack data.

My platform is Vista 64b. Are there any special settings or tricks needed to capture callstacks on 64b Windows?

like image 742
Suma Avatar asked Nov 24 '25 06:11

Suma


1 Answers

After some more searching I have found one setting:

Set registry value DisablePagingExecutive = 1 and reboot (see Windows Performance Toolkit FAQ).

While this sounds great, it does not seem to help at my system, still no call-stacks.


After contacting Microsoft support their reply was with x64 Vista you can capture only callstacks of x64 native applications, not 32b ones.


Windows 7 seems to have removed the limitation and it works fine on Win 7 x64, at least this says Valve presentation on Xperf.

like image 155
Suma Avatar answered Nov 26 '25 23:11

Suma



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!