Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
4679 Discussions

How to include source file when drilling down to assembly level

drew_woods
Beginner
110 Views
When I'm using Vtune to analyse functions of modules and it cannot find the source, it seems to behave in one of two ways:

It either asks for the missing source file, and then allows me to mix source and assembly code together,

or it doesn't ask me for source code at all, and I can only view the assembler.

How do I specify the source code manually, if it doesn't prompt me automatically?
0 Kudos
2 Replies
Thomas_W_Intel
Employee
110 Views

Drew,

Might it be that the object files, where you aren't asked for a source file, do not contain debug information? (e.g. because they were not compiled with -g or because they are stripped) There is an option that let's you choose if you want to be warned about this or VTune should simply show the assembly code. I suspect that the first variant is turned on for you.

Kind regards

Thomas

drew_woods
Beginner
110 Views
Thanks for the reply Thomas, I'll have a look into it
Reply