Getting started with kernel sources [Was: No subject]

Daniel Baluta daniel.baluta at gmail.com
Thu Jun 16 07:48:27 EDT 2011


On Thu, Jun 16, 2011 at 2:41 PM, Venkateswarlu P
<p.venkatesh551 at gmail.com> wrote:
> how to understand the kernerl source  files in a simple way
>
>
> what header  files i have to understand first
>
>
> for example  to understand      do_fork()     function  for process
> creation  which is defined in  kernel/fork.c

There's no shortcuts. :)

Use dump_stack() in various places and check
what functions are called.
Also use lxr ([1]) for code browsing.

Please add a relevant Subject description to your emails.

thanks,
Daniel.

[1] http://lxr.linux.no/



More information about the Kernelnewbies mailing list