Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

dlopen()

mathewmills
Beginner
209 Views
If I have an application that dlopen()s a DSO, is there any way to make VTune instrument that DSO and profile it?
0 Kudos
1 Reply
Konstantin_L_Intel
209 Views
It does not matter how you use you DSO: either implicit loading: -lYourDSO (in the linker command line) or explicit one: dlopen.
In both cases VTune analyzer for Linux analyze your DSO according to a possible instrumentation level.
The command bellow configures and runs an activity for the application myapp located in the directory mydir. All the DSOs this application uses will be analyzed according to the debug information level they have.

>vtl activity -c callgraph -app /mydir/myapp -moi /mydir/myapp run

Please feel free to ask if you have any further questions.

Kind regards,
Konstantin Lupach
Reply