Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5106 Discussions

How to include source file when drilling down to assembly level

drew_woods
Beginner
347 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
347 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

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