Messages in this thread | | | Date | Fri, 15 Mar 2002 19:40:13 -0700 | From | Erik Andersen <> | Subject | Re: libc/1427: gprof does not profile threads <synopsis of the problem (one li\ne)> |
| |
On Fri Mar 15, 2002 at 04:19:17PM -0800, Ulrich Drepper wrote: > On Fri, 2002-03-15 at 13:56, Dan Kegel wrote: > > > Ulrich, do you at least agree that it would be desirable for > > gprof to work properly on multithreaded programs? > > No. gprof is uselss in today world.
Then why not change sysdeps/generic/initfini.c with something like:
- if (gmon_start) + if (gmon_start && __pthread_initialize_minimal) gmon_start ();
So it doesn't even try when threading?
-Erik
-- Erik B. Andersen http://codepoet-consulting.com/ --This message was written using 73% post-consumer electrons-- [unhandled content-type:application/pgp-signature] | |