On Fri Mar 15, 2002 at 04:19:17PM -0800, Ulrich Drepper wrote:
> On Fri, 2002-03-15 at 13:56, Dan Kegel wrote:
>=20
> > Ulrich, do you at least agree that it would be desirable for
> > gprof to work properly on multithreaded programs?
>=20
> 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----Q68bSM7Ycu6FN28Q Content-Type: application/pgp-signature Content-Disposition: inline
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org
iD8DBQE8krCMX5tkPjDTkFcRAlIKAJsEoltsoMNVBkGYLUyzbMD99X7lUACeOo8C e7pPN7d6T+MHghMOsZWGgNg= =LOyx -----END PGP SIGNATURE-----
--Q68bSM7Ycu6FN28Q-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/