tags:

views:

34

answers:

1

I am attempting to perform a stackwalk with Xperf, using a batch file similar to the one listed at http://stackoverflow.com/questions/597211/getting-the-symbols-with-xperf.

I launch XperfView, confirm the symbol path is correct, and then load the symbols. However, when I attempt to open a summary table on a selected portion (5 seconds or so) of the "CPU Sampling by CPU" graph, the Performance Analyzer hangs (not responding) for a long time (hours).

I left it running last night, and when I came in this morning the Summary Table had finally loaded, containing results as expected... I had thought perhaps it was just performing an initial download to cache the symbols to C:\symbols, but a repeat test this morning has similar problems (hang for 1 hr 15 minutes at this point).

A: 

Have you set up symcache something like this

SRV*c:\dev\symbols*http://msdl.microsoft.com/download/symbols

The symcache would cache the symbols locally. I usually have my _NT_SYMBOL_PATH environment variable with the above information.

HTH

Naveen
thanks for the suggestion! I reread the documentation on symbol support http://msdn.microsoft.com/en-us/library/ff191023(v=VS.85).aspx, and changed my _NT_SYMCACHE_PATH, which was C:\Symbols, to C:\SymCache, and created the SymCache folder, but still no luck. <br />To reiterate, i have global environment variables as follows:<br /> _NT_SYMBOL_PATH=<my debug folders>;SRV*c:\symbols*http://msdl.microsoft.com/download/symbols<br /> _NT_SYMCACHE_PATH=C:\SymCache
sschilz
You could try and diagnose with Procmon.
Naveen