Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
The Intel sign-in experience is changing in February to support enhanced security controls. If you sign in, click here for more information.

question related to Vtune

BYZheng
Beginner
428 Views

Hello!

I am trying to profiling a C program using Vtune. on Linux.

the error shows below:

BYZheng_0-1647875259156.png

I tried the compile flag -u SYMBOL as another post on 2017.

but it remain the same. I cannot understand the problem.  

Thank you.

Labels (1)
3 Replies
Gopika_Intel
Moderator
363 Views

Hi,

Thank you for posting in Intel Communities. We were unable to reproduce the issue from our end. Steps we followed are mentioned below. Could you please provide the following information so that we can investigate the issue from our end?

1. A minimal sample reproducer code

2. Steps to reproduce the issue

3. Vtune version

 

“If the binary file does not export some of the symbols, use the -u linker switch (for example, specify -Wl,-u__errno_location if you use compiler for linking) to include symbols into the binary file at the linking stage of compilation.”

 

While we investigate the issue from our end, could you please try -Wl,-u__errno_location if you are using compiler for linking

 

Please refer the latest documentation on Analyze Statically Linked Binaries on Linux* Targets for more information on the error: https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/...

 

Steps we tried from our end

1. Created a sample c program program.c

2. 

icc -O2 -g program.c -o program2

(Refer Prepare a C++ Application on Linux for more information)

3. 

vtune -collect performance-snapshot -- ./program2 //ran performance snapshot on it

Regards

Gopika

 

Gopika_Intel
Moderator
340 Views

Hi,

We have not heard from you. Is your issue is resolved? Can we discontinue monitoring this thread?

Regards

Gopika

 

Gopika_Intel
Moderator
287 Views

Hi,

We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.

Regards

Gopika


Reply