- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used amplxe-gui to test a program that need set LD_PRELOAD, but VTune didn't give me the reasonable results. It showed the elapsed time which faster than the true elapsed time. And for another similar program, VTune could not stop running, and I could not close VTune normally.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may need to set up your test run with the LD_PRELOAD included in a script which you start from VTune, although it should work with that added to the VTune environment settings or set in the shell where you launch VTune. As with other cases of shared object usage, VTune will require at a minimum that you add your shared object to binary (and source, if appropriate) search paths, if you want the .so taken into account. You should be able to repeat analysis after modifying search paths without repeating the application execution. In my experience, omitting shared objects from search path can invalidate analysis results other than those of the components which are visible on search paths.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What LD_PRELOAD stands for?
Maybe measured program ran less than few milliseconds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may need to set up your test run with the LD_PRELOAD included in a script which you start from VTune, although it should work with that added to the VTune environment settings or set in the shell where you launch VTune. As with other cases of shared object usage, VTune will require at a minimum that you add your shared object to binary (and source, if appropriate) search paths, if you want the .so taken into account. You should be able to repeat analysis after modifying search paths without repeating the application execution. In my experience, omitting shared objects from search path can invalidate analysis results other than those of the components which are visible on search paths.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page