How do I get TotalView to start faster?

 

If your program uses many libraries, TotalView might take a long time to get started. This is because TotalView is reading a lot of debug information. You can change the way TotalView reads in library by selecting the Dynamic Libraries Tab within the File > Preferences Dialog Box.

Here's what you should do:

  • Select no symbols, and then type *
  • If you are interested in some libraries, select all symbols, and then type a glob-style wildcard for the libraries you're interested in. For example, you could type:

    *libgraph*

For more information on this preference, go to http://www.totalviewtech.com/Documentation/latest/html/wwhelp/wwhimpl/api.htm?href=User_Guide/ControllingWhichSymbolsTVReads.html

If you need to interactively load a libraries symbols, you need to use the CLI. Here's what you should do:

  1. Open the CLI by selecting the Tools > Command Line command.
  2. Type the following command:

    TV::read_symbols -lib libname.so


You can find tips that we've already sent out in our Tip Archive

Help us improve these tips!