Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Rebecca_J_
Beginner
68 Views

top down tree shows memory address instead of source code

I run my program and collect hotspots.

When I open the vtune gui and click on the top-down tree toggle and click to see the a file I can only see the assembly language and not my Fortran source code.

Does anyone have any idea why this happens?

0 Kudos
3 Replies
TimP
Black Belt
68 Views

Which possibilities have you eliminated?

e.g.

compilation or link without debug symbols

.pdb or source code not on VTune search path

Hagen_G_
Beginner
68 Views

Hi,

I just had a similar problem, too. In my case the reason was that .exe and .pdb were not matching. (I had updated my local binaries from our server while a compilation ran on the server and thus I got mixed-up files.) Analysing the problem was possible by attaching to my process with wd_express (the visual studio debugger) and seeing that the .pdb file was not loaded although all paths were set correctly.

Perhaps VTune could give the user hints about not-matching binary and pdb files, so we are able to detect such problems on the user-side faster (or "more adequate")? (The current behaviour seems really to be that simply the assemby is shown rather than the source code.)

@Tim: I think that a missing source directory cannot be the problem here - as far as I know, VTune opens up a dialog to choose the source code folder in the case that it doesn't find it automatically.

Regards,

Hagen

Peter_W_Intel
Employee
68 Views

@Hagen

You can modify VTune(TM) Amplifier's Project Properties to set search Dirs for source/binray/symbol. If you already collected data, you can re-resolve the result again. In command line, you can do "amplxe-cl -finalize -search-dir sym:rp=dir1 -r result-dir"

On GUI, usually VTune will not ask you again if you failed to specify symbol directory first time, just use "re-resolve".

Reply