Thank you Daniel for the links.<br>Am using kernel-2.6.18-194.centosplus.el5 and dumpstack.c (under lib/dumpstack.c) implentation said simply "This architecture does not support dump_stack".<br><br>Thanks, Sri.<br>
<br><div class="gmail_quote">On Fri, Apr 1, 2011 at 3:33 PM, Daniel Baluta <span dir="ltr"><<a href="mailto:daniel.baluta@gmail.com">daniel.baluta@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">> Is there a way to find, in the kernel src tree, which routine/function is<br>
> calling another function OR kernel function invocation stack order?<br>
> This would be helpful for me to know the various steps/functionalities<br>
> involved during executing something in kernel space.<br>
<br>
</div></div>At runtime you can use dumpstack() [1].<br>
Otherwise, just for reading the code I suggest cscope [2].<br>
<br>
thanks,<br>
Daniel.<br>
<br>
[1] <a href="http://lxr.linux.no/linux+v2.6.38/arch/x86/kernel/dumpstack.c#L198" target="_blank">http://lxr.linux.no/linux+v2.6.38/arch/x86/kernel/dumpstack.c#L198</a><br>
[2] <a href="http://cscope.sourceforge.net/" target="_blank">http://cscope.sourceforge.net/</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>--<br> Krishna Mohan B<br>