how to profile multi threaded c++ app on linux?
- by anon
I used to do all my linux profiling with gprof.
However, with my multi threaded app, it's output appears to be inconsistent.
Now, I dug this up
http://sam.zoy.org/writings/programming/gprof.html
howver, it's from a long time ago -- and in my gprof output, it appears my gprof is listing functions used by non-main threads.
So, my questions are:
1) in 2010, can I easily use gprof to profile multi threaded linux c++ apps? (ubuntu 9.10)
2) what other tools should I look into for profiling?
thanks!