How to find caller address in i386?
Posted: Tue Jul 22, 2008 11:02 pm
Hi,
Inside a kernel function I want to find which function called that function at run time.
For example: If function x() calls y(), I want to get x's address inside y.
Is there any way without back tracing the stack?
Thanks
Sam
Inside a kernel function I want to find which function called that function at run time.
For example: If function x() calls y(), I want to get x's address inside y.
Is there any way without back tracing the stack?
Thanks
Sam