I'm trying to use the Google Performance Tools, specifically the official release in the 64-bit Ubuntu 14.04 repository, to debug an application and its associated .so
library.
Running with minimal changes, just ensuring -g
is set, gets me a trace, but only a few symbols from the main executable. Adding ProfilerRegisterThread()
to the threads in the library as suggested in the rather minimal documentation actually makes things worse, with even fewer symbols being output, just the hex addresses.
How does one go about profiling threads in libraries properly?