You can specify directories for searching source file by using menu "Window"->"Preferences", then select in the tree on the left "VTune Performance Analyzer"->"Directories", and choose Context = "Project...", Show directories for = "Source fies" - now you can add your directories with source files.
Please make sure that your binary files have full debug info (compiled with -g)- line number information, symbol information andsection ".debug_line" should contain path to source file.
I'm really surprised that the VTune Source View doesn't work on provided examples. We didn't see any problems with them in our lab...Seems that the root cause is specific for your environment...
What platform you use? OS, kernel, glibc, architecture?
Did you have any warnings/errors while instalation?
Do you have any warnings while GUI start?
Let's check also whether it's a GUI issue only, or the same problem happens in command line. Please run in console:
What output you have?
1) Make sure below directories are available for read/write by your group ID (permissions = 755):
The global data directories are used by VTune to save binary symbol information.
You can re-define location ofglobal data byre-setting VTUNE_GLOBAL_DIR variable to your own directory.
2) Check that /tmp/vtune_
I'm really glad that the initial problem was resolved! And I beleive you're right - VTune should have warned about wrong permissions on ISM folder; i'll escalate the issue to VTune engineers.
As for the absence of sample counts on your method in Source View: did you checkdisassembly view also? Weren't there any samples in your method address range?