Community
cancel
Showing results for 
Search instead for 
Did you mean: 
drew_woods
Beginner
51 Views

How to include source file when drilling down to assembly level

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
51 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
51 Views

Thanks for the reply Thomas, I'll have a look into it
Reply