Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
57 Views

Why VTune can profile a stripped application?

Jump to solution

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

Accepted Solutions
Highlighted
Employee
57 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

0 Kudos
2 Replies
Highlighted
Employee
58 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

0 Kudos
Highlighted
Beginner
57 Views

Thank you Denis!

0 Kudos