Re: gprof cannot profile multi-threaded programs

2001-01-31 Thread Dan Kegel
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. Oh. Bleh. http://wordindex.sourceforge.net/testdata/usenet.col-2817

Re: gprof cannot profile multi-threaded programs

2001-01-31 Thread John Levon
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, thi

Re: gprof cannot profile multi-threaded programs

2001-01-31 Thread Kurt Roeckx
On Tue, Jan 30, 2001 at 11:31:13PM -0600, Mohit Aron wrote: > I analyzed the problem to be the following. Linux uses periodic SIGPROF signals > for profiling (Linux doesn't use the profil system call used in other OS's like > Solaris where the kernel does the profiling on behalf of the process). A

Re: gprof cannot profile multi-threaded programs

2001-01-30 Thread Mohit Aron
> 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. - Mohit - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

Re: gprof cannot profile multi-threaded programs

2001-01-30 Thread Dan Kegel
See http://opensource.corel.com/cprof.html I haven't used it yet, myself. - Dan - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

gprof cannot profile multi-threaded programs

2001-01-30 Thread Mohit Aron
Hi, I'm using Linux-2.2 and discovered a problem with the profiling of a multi-threaded program (uses Linux pthreads). Basically, upon compiling the program with '-pg' option, running it and invoking gprof on the gmon.out file only shows the profile information corresponding to the comp