TotalView Online Help : Chapter 10 Other Topics : Setting Search Paths Using TotalView Variables : Search Path Variables That TotalView Sets : COMPILATION_DIRECTORY_COMPONENT
The COMPILATION_DIRECTORY_COMPONENT variable contains the path component for the file that is named on the compilation command. For example, assume that you’ve compiled your program in the following way:
cc -g src/test/hello.c
COMPILATION_DIRECTORY_COMPONENT would be src/test. This variable can be empty because not all compilers add this information to the generated debug information.