Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
4555 Discussions

Why VTune can profile a stripped application?

YWang84
Beginner
171 Views

AFAIK, an unstripped application is necessary to display the function name rather than the func@address when getting profiled.

In my environment, I firstly installed an unstripped version of my application, the profiling is good, the function name can be displayed.

However, in my same environment, I setup a stripped version and profile this, the function name are still displayed. So is my understanding wrong about the requirement of profiling? How does VTune do actually?

To make sure the application is stripped, I used "objdump --syms" to see there is indeed "no symbol" reported.

0 Kudos
1 Solution
Denis_M_Intel
Employee
171 Views

 Stripped binaries contain symbol information needed at runtime in the .dynsym section. It is a small subset of all symbols. That is why it is recommended to have an unstripped version of binary file or full DWARF debugging information (better option). 
readelf -s can show symbols from .dynsym.

View solution in original post

2 Replies
Denis_M_Intel
Employee
172 Views

 Stripped binaries contain symbol information needed at runtime in the .dynsym section. It is a small subset of all symbols. That is why it is recommended to have an unstripped version of binary file or full DWARF debugging information (better option). 
readelf -s can show symbols from .dynsym.

View solution in original post

YWang84
Beginner
171 Views

Thank you Denis!

Reply