Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
4700 Discussions

Inline frames on Windows (MSVC/PDB)

Milian_W_
Beginner
361 Views

Hey all,

should VTune show inline frames on Windows, when profiling an application build with Visual Studio 2017 and the <code>/Zo</code> switch? See also my question on StackOveflow: https://stackoverflow.com/questions/47541598/profiling-inlined-c-functions-with-visual-studio-compiler

I initially assumed that the compiler is not adding the required information to the PDB files. Now it seems as if that is the case after all, but VTune is simply not showing the inlined frames? On Linux this works as expected. I have not tried MinGW or the Intel Compiler on Windows.

0 Kudos
4 Replies
Denis_M_Intel
Employee
361 Views

 Inline frames are not supported for binaries built with Visual Studio 2017 and the Zo switch. Linux binaries have another debug. info format (DWARF) and VTune can read it.
 

Milian_W_
Beginner
361 Views

Will this ever get supported on Windows?

Denis_M_Intel
Employee
361 Views

It is in the list of possible improvements but there are no exact plans yet.

Madill__Jamie
Beginner
361 Views

Has there been any update on supporting inline frames from PDB files?This would be a useful feature for Windows devs.

Reply