This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to profile a multithreaded program using gprof?


On Fri, Nov 30, 2007 at 02:55:23PM +0100, Marcel Loose wrote:
> Hi all,
> 
> I've been trying to profile a multithreaded program, but have not been
> successful so far.

You can't.  gprof profiling generally does not support threaded programs.
Use something else, like callgrind or oprofile.

-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]