views:

206

answers:

0

I was able to get profiling information for native code. 67.5%-75% of my time is spent in one (unknown) block, so to get more information, I went back to recompile the native libraries. I added -ggdb and -pg to my flags, then attempted recompilation. This gave me a "warning: -ffunction-sections disabled; it makes profiling impossible" warning and several "undefined reference to `mcount'" errors. I added -ffunction-sections, but that still gave the "profiling impossible" error message.

I need a more detailed breakdown of where the native libraries are spending their time. How can I get this data?