how to get kernel functions calling stack/invokation ordert
bskmohan at gmail.com
Fri Apr 1 07:06:04 EDT 2011
Thank you Daniel for the links.
Am using kernel-2.6.18-194.centosplus.el5 and dumpstack.c (under
lib/dumpstack.c) implentation said simply "This architecture does not
On Fri, Apr 1, 2011 at 3:33 PM, Daniel Baluta <daniel.baluta at gmail.com>wrote:
> > Is there a way to find, in the kernel src tree, which routine/function is
> > calling another function OR kernel function invocation stack order?
> > This would be helpful for me to know the various steps/functionalities
> > involved during executing something in kernel space.
> At runtime you can use dumpstack() .
> Otherwise, just for reading the code I suggest cscope .
>  http://lxr.linux.no/linux+v2.6.38/arch/x86/kernel/dumpstack.c#L198
>  http://cscope.sourceforge.net/
Krishna Mohan B
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kernelnewbies