Re: how to get kernel functions calling stack/invokation ordert

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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() [1].
Otherwise, just for reading the code I suggest cscope [2].

thanks,
Daniel.

[1] http://lxr.linux.no/linux+v2.6.38/arch/x86/kernel/dumpstack.c#L198
[2] http://cscope.sourceforge.net/

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux