Do you mean if there is a function A that calls an inline function B that in turn calls schedule(), the __builtin_return_address(0) in schedule() will return the address of function A?
If the caller function is not inlined, then IMHO yes you can. If the
caller is inlined, likely you will land into 2nd degree caller (if
exist). CMIIW people
BR,
Mauricio Lin.
Yahoo! doce lar. Faça do Yahoo! sua homepage.