c++profilingdynamic-linkingshared-librariessprof

How to profile a dynamically linked library without sprof?


I am having some trouble profiling a dynamic library, and I can't seem to find anybody who has used sprof.

Does anybody know of an alternative tool that can give a call graph for a dynamically linked library?


Solution

  • The answer was to use valgrind and KCachegrind