Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Harshal
Employee
72 Views

[Intel Inspector][Windows] - 'Sources' column display 'Unknown'

Trying to perform 'Memory Leak' analysis for a simulation tool using Intel Inspector on Windows.

Issue : Summary has 'Sources' column which displays 'Unknown' in place of file.cpp

Setting up the environment

Target -> Application -> .exe file 

- Source Search -> address to 'src' folder provided

 

Help pointers will be great. Thank you for the time. 

 

Labels (1)
0 Kudos
4 Replies
Michael_T
Employee
50 Views

Hello Harshal,

I would suggest to check compiler and linker options used to build this application. Is it built with debug symbols?

Here is link on Inspector recommended build options:

ArunJ_Intel
Moderator
48 Views

Hi 


Could you verify you have used the right compiler flags(eg /Od and /ZI flags) when you built your executable. Please find below a document which explains compiler settings required in detail.


https://software.intel.com/content/www/us/en/develop/articles/compiler-settings-for-memory-error-ana...



If you are still facing issues could you please try profiling the memory leak sample available as a part of Inspector installation and let us know if you are able to locate sources for the sample.

The sample would be available in the below location.

{INSPECTOR_INSTALLED_LOCATION}\latest\samples\en\C++\banner.zip\banner\memoryLeak


INSPECTOR_INSTALLED_LOCATION is the path to installation for eg "C:\Program Files (x86)\Intel\oneAPI\inspector"




Thanks

Arun Jose


ArunJ_Intel
Moderator
34 Views

Hi Harshal,


Are you able to view the sources by following the solution provided.


Thanks

Arun Jose


ArunJ_Intel
Moderator
13 Views

Hi,


As we have not heard back from you for sometime we assume your issue is resolved.

If you need any additional information, please submit a new question as this thread will no longer be monitored.


Thanks

Arun


Reply