I want to perform some statistical analysis of the distribution of calls by an executable of mine to external libraries (it's a C++ executable on Linux, so that would be the C++ standard library, glibc, pthreads etc.)
Is there a faster, more convenient way of doing this than using ltrace, then some sed, cut, sort and uniq? Waiting for ltrace to go throw my execution makes it much much slower.