- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In the current version, 3.0, when using the Call Graph collector to collect data on an application that is started by a script, you need to make sure the application and the directory it resides in are writable by the user executing the VTune analyzer. This means, for example,you cannot call graph an application that is installed on a shared, non-writable NFS drive.
Second,you musthave the environment configured as it will be when the application runs in the script, before you start the analyzer. Yes, this is a known limitation. :-( One way to deal with this is to replace the application invocation in the script with the invocation of the analyzer that would then launch the application. This change is required so that any changes that may effect which libraries are loaded by the application can be taken into account by the analyzer when it instruments the application and referenced libraries.
Another limitation of using a script to launch your application is that the analyzer will only collect call graph data for the first invocation of the application. So, if your script launches the application several times, you will only see data for the first time.
We are hoping to address many of these in a future release.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Great post, Dave. Thanks!
jdg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dave,
Does this assume you have already manually created instrumented executables, or does th Call Graph collector automatically instrument whatever executables you invoke in your script?
--Matt
Does this assume you have already manually created instrumented executables, or does th Call Graph collector automatically instrument whatever executables you invoke in your script?
--Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The analyzer will instrument the "module of interest" (moi) and any shared objects it loads. So, you specify the script as the "app" and the executable as the "moi".
Message Edited by DaveA on 04-27-2005 03:01 PM

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