I have a medium sized application written in C ++ using Qt. I wanted to talk about where my least efficient code is, so I compiled everything with -pg.
However, my application uses many plugins using the QTPlugin mechanism (it comes down to dlopen and dlsym object instances for each plugin). I noticed that gprof does not seem to include functions from plugins.
Yes, plugins are also compiled using -pgand all that. Is there anything special I need to do so that everything is profiled? Or am I missing something simple?
source
share