Re: gprof cannot profile multi-threaded programs

From: John Levon (moz@compsoc.man.ac.uk)
Date: Wed Jan 31 2001 - 11:52:09 EST


On Wed, 31 Jan 2001, Mohit Aron wrote:

>
> > http://opensource.corel.com/cprof.html
> >
> > I haven't used it yet, myself.
> >
>
> I have. cprof is no good - extremely slow and generates a 100MB trace
> even with a simple hello world program.
>

try the (currently rather alpha) oprofile, this will generate profile
info perfectly well :

http://oprofile.sourceforge.net/

(note: use CVS version, NOT the available tarball - and you might
want to wait a while for some pending updates).

I suppose further discussion should go to linuxperf@nl.linux.org or
oprofile-list@lists.sourceforge.net

thanks
john

-- 
"Existence of programs that do the impossible is 
 not a proof that that "impossible" is now possible."
	- Tigran Aivazian 

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 31 2001 - 21:00:39 EST