gprof and glibc

C/C++ Unix programmers can traditionally obtain a runtime execution profile of their programs by compiling them with the -pg option, running them, then using the program gprof to analyze the log file gmon.out written by the profiling code.

This works under Linux with glibc, but there are two problems. I've fixed one, and it looks like fixing the other might have to wait until the current (Aug 2002) flurry of Linuxthread work is finished.

glibc does not support profiling multithreaded programs

glibc cannot profile programs with more than 64000 or so symbols

See also