xperf won't use my DLL's pdb

Posted by dauphic on Stack Overflow See other posts from Stack Overflow or by dauphic
Published on 2010-04-30T15:46:29Z Indexed on 2010/04/30 15:57 UTC
Read the original article Hit count: 843

Filed under:
|
|
|
|

I'm attempting to use xperf to profile my (unmanaged) DLL which is loaded by another (managed) application.

Basically, xperf isn't loading the symbols for my DLL; in the CPU usage summary, my DLL's function column says 'Unknown'

xperf gives me:

xperf: Using symbol path: C:\app\mydll\releaseu;SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
xperf: Using executable path: C:\app\mydll\releaseu;SRV*c:\symbols*http://msdl.microsoft.com/download/symbols
xperf: Using SymCache path: \SymCache

Where C:\app\mydll\releaseu is where my DLL's .pdb file is located.

Using xperf -symbols or clicking Load Symbols in the viewer doesn't load my DLL's symbols. A folder for mydll isn't created in C:\Symbols, I'm only getting the symbols from Microsoft.

Any idea how to make it work?

© Stack Overflow or respective owner

Related posts about XPERF

  • xperf won't use my DLL's pdb

    as seen on Stack Overflow - Search for 'Stack Overflow'
    I'm attempting to use xperf to profile my (unmanaged) DLL which is loaded by another (managed) application. Basically, xperf isn't loading the symbols for my DLL; in the CPU usage summary, my DLL's function column says 'Unknown' xperf gives me: xperf: Using symbol path: C:\app\mydll\releaseu;SRV*c:\symbols*http://msdl… >>> More

  • xperf can't load my DLL's symbols

    as seen on Stack Overflow - Search for 'Stack Overflow'
    I'm trying to use xperf to profile my DLL, but it refuses to use my DLL's PDB file. Running xperf on the .etl with -symbols, I get: DBGHELP: mydll- private symbols & lines C:\mydll\debugu\mydll.pdb - unmatched Which leads me to believe it thinks my PDB doesn't match the DLL the application… >>> More

Related posts about Windows