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

Unable to resolve function names and call stack

Saikrishna28
Beginner
1,345 Views

Compiled the code with cl.exe of MSVC compiler, version 19.29.30146. 

Used /DEBUG and /Zi flags while compiling along with other set of flags.

.pdb file gets generated.

But while running with the vtune profile, the call stack is still showing function pointer addresses instead of the function names.

 

Flags used for compiling: 

cl /Zi -DZ7_PROG_VARIANT_Z -DZ7_LONG_PATH -DZ7_LARGE_PAGES -DZ7_DEVICE_FILE -DUNICODE -D_UNICODE -Gr -nologo -c -Foo/ -Wall -WX -EHsc -Gy -GR- -GF -MT -GS- -Zc:wchar_t -Zc:throwingNew -MP4 -D_CONSOLE -O2

 

Any thoughts on how to resolve the function names. Testing this for a repo of 7zip code windows platform.

 

 

0 Kudos
4 Replies
RajashekarK_Intel
1,304 Views

Hi, Thanks for posting in Intel communities.


Inorder to debug your issue further, requesting you to share few details


1. OS and processor information.

2. VTune version

3. Sample reproducer

4. which analysis are you performing on VTune?

5. Screenshot, highlighting where exactly you require the desired result(function names) on VTune window?


Regards,

Rajashekar


0 Kudos
RajashekarK_Intel
1,246 Views

Hi, Good day to you.


We have not heard back from you, were you able to figure out a solution? If not, can you provide the details mentioned in our previous reply to debug your issue.


Regards,

Rajashekar


0 Kudos
Saikrishna28
Beginner
1,217 Views

Resolved the issue, basically the debugging information necessary for the executable is not generated correctly. Able to resolve the function names for the same. Thanks. We can close this issue.

0 Kudos
RajashekarK_Intel
1,202 Views

Hi,


Glad to know that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Regards,

Rajashekar


0 Kudos
Reply