Totalview® for HPC User Guide : PART IV Advanced Tools and Customization : Chapter 22 Controlling fork, vfork, and execve Handling : The exec_handling and fork_handling Command Options and State Variables : Fork Handling
Fork Handling
When first launching or attaching to a process, the debugger iterates over fork-handling-list to match the process name against each regexp in the list. When it finds a match, it uses the corresponding action to determine how future fork system calls will be handled, as follows:
 
Action
Description
attach
Attach to the new child processes.
detach
Detach from the new child processes.
If a matching process name is not found in the fork-handling-list list, TotalView handles fork() based on whether the process was linked with the dbfork library and the setting of the TV::dbfork CLI state variable preference.
For more information, see"Linking with the dbfork Library" in the TotalView for HPC Reference Guide.