Other Linux x86 Platforms
While TotalView has only been tested on the Red Hat platform, TotalView should not fail on other Linux/x86 platforms.
The TotalView executable image uses the following dynamic libraries:
- libX11.so.6
- libm.so.6
- libbfd-2.9.1.0.15.so.0 (included with TotalView)
- libutil.so.1
- libdl.so.2
- libc.so.6
We would be interested to hear about your experiences in using TotalView on other Linux/x86 platforms.
Other Linux Hints
If you have source code for Linux run time libraries available on your system, TotalView should be able to display this code provided that it appears in the directory from which its debug information claims that it was compiled. On Red Hat systems, this is /usr/src/bs/BUILD; other systems may vary. Since the source RPMS on Red Hat installs sources under /usr/src/redhat/BUILD, a simple symbolic link so that /usr/src/redhat also appears as /usr/src/bs is all that is required.
To work out where your library sources claim to have been compiled you should do the following:
% objdump --stabs library_of_interest | grep SO | head -5
Here's an example.
% objdump --stabs /lib/libc.so.6 | grep SO | head -5
0 SO 0 0 0000000000017a10 9 /usr/src/bs/BUILD/glibc/ elf/
1 SO 0 0 0000000000017a10 0 soinit.c
96 SO 0 0 0000000000017a58 954
97 SO 0 0 0000000000017a60 2340 /usr/src/bs/BUILD/glibc/csu/
98 SO 0 0 0000000000017a60 2369 ../sysdeps/unix/sysv/linux/init-
first.c
Here you can see that the library was compiled from /usr/src/bs.