Saving the Execution History
TotalView has support to save the current execution history at any given time to a recording file. The saved recording file can then be loaded into TotalView and all the replay options will be available to go back and forth within the time boundaries of the saved recording.
To save a recording, use the CLI dhistory command:
dhistory -save filename
The filename can be either a path or a simple file name, in which case it is saved into the current working direcotry, If no filename is specified, the recording is saved in the current working directory as replay_pid_hostname.recording.
The saved recording can be loaded into TotalView in one of two ways:
*At startup, using the same syntax as when opening a core file:
totalview executable recording-file
TotalView recognizes the recording file for what it is and acts appropriately.
*After TotalView is running, using the dattach command with option -c:
dattach filename -c recording-file
Again, TotalView recognizes it is dealing with a recording file.