Question about -finstrument-functions

Richard Henderson
Sat Jun 24 11:58:00 GMT 2000

On Sat, Jun 24, 2000 at 07:03:14PM +0100, Andreas Sorensen wrote:
> My question is: what is the value of call_site if this_fn is a signal
> handler? If call_site is an address "outside" the program being profiled...

It's the called function's return address, whatever that might be.
For a signal handler, in all probability the return address is to
a hunk of code that returns to the kernel.

You'll have to figure out for yourself between your libc and your
OS what that address is likely to look like.


More information about the Gcc mailing list