2 problems with sprof

Ulrich Drepper drepper@redhat.com
Sun Sep 23 12:53:00 GMT 2001


Jakub Jelinek <jakub@redhat.com> writes:

> IMHO it would be far better to teach gcc to emit _mcount style profiling
> hooks both in function prologue and function epilogue.

This is already possible.  What is needed is support for longjmp() and
similar things.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Libc-alpha mailing list