Initializing TotalView After Loading an Image
Immediately after TotalView loads an image and just before it runs it, TotalView executes the routines listed in its TV::process_load_callbacks lists. TotalView invokes these callbacks after it invokes the routines in the TV::image_load_callbacks list. By default, the value of the TV::process_load_callbacks variable is {TV::source_process_startup}. The routines in this second callback list are only called once even though your executable may use many images (one for each shared library).
TotalView initializes the TV::image_load_callbacks list variable with the name of the TV::source_process_startup routine. This routine looks for a file with the same name as the newly loaded process's executable image that has a .tvd suffix appended to it. If the file exists, TotalView executes the commands contained within it.
This function is passed a single argument that is the ID for the newly created process.