* No subject
@ 2011-06-16 11:41 Venkateswarlu P
2011-06-16 11:47 ` Anuz Pratap Singh Tomar
2011-06-16 11:55 ` Javier Martinez Canillas
0 siblings, 2 replies; 6+ messages in thread
From: Venkateswarlu P @ 2011-06-16 11:41 UTC (permalink / raw)
To: kernelnewbies
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
--
**
P VENKATESWARLU
M.Tech (CSE) II year
NIT Calicut ,Kerala* **
*+91-9995115752
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110616/e52d0718/attachment.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* (no subject)
2011-06-16 11:41 No subject Venkateswarlu P
@ 2011-06-16 11:47 ` Anuz Pratap Singh Tomar
2011-06-16 11:55 ` Javier Martinez Canillas
1 sibling, 0 replies; 6+ messages in thread
From: Anuz Pratap Singh Tomar @ 2011-06-16 11:47 UTC (permalink / raw)
To: kernelnewbies
On Thu, Jun 16, 2011 at 12:41 PM, Venkateswarlu P
<p.venkatesh551@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 is no sure shot answer to that question.
you need to keep reading the book and look at source files it points you to.
use ctags/csope to navigate through the code.
Besides read more, look at kernelnewbies.org site for more information.
google a little before you ask these questions.
--
> **
> P VENKATESWARLU
> M.Tech (CSE) II year
> NIT Calicut ,Kerala* **
> *+91-9995115752
>
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110616/e19b90da/attachment.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* (no subject)
2011-06-16 11:41 No subject Venkateswarlu P
2011-06-16 11:47 ` Anuz Pratap Singh Tomar
@ 2011-06-16 11:55 ` Javier Martinez Canillas
2011-06-16 13:19 ` Anand Arumugam
1 sibling, 1 reply; 6+ messages in thread
From: Javier Martinez Canillas @ 2011-06-16 11:55 UTC (permalink / raw)
To: kernelnewbies
On Thu, Jun 16, 2011 at 8:41 PM, Venkateswarlu P
<p.venkatesh551@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
>
In the end the Linux kernel is just a big project written in C.
Instead of asking what files do you need to understand. You should ask
yourself what subsystem do you want to learn?
Focus on functionality and browse the code to understand. As others
pointed before there are lots of good books that will give you a high
overview of the kernel.
The first book that I recommend reading is Linux kernel development by
Robert Love, but only if you have already read a book on operating
system concepts. The best book for me is Andrew Tanenbaum's Modern
Operating Systems.
Hope it helps,
--
Javier Mart?nez Canillas
(+34) 682 39 81 69
PhD Student in High Performance Computing
Computer Architecture and Operating System Department (CAOS)
Universitat Aut?noma de Barcelona
Barcelona, Spain
^ permalink raw reply [flat|nested] 6+ messages in thread
* (no subject)
2011-06-16 11:55 ` Javier Martinez Canillas
@ 2011-06-16 13:19 ` Anand Arumugam
2011-06-16 15:37 ` Anand Moon
2011-06-19 21:25 ` abhijeet tripathi
0 siblings, 2 replies; 6+ messages in thread
From: Anand Arumugam @ 2011-06-16 13:19 UTC (permalink / raw)
To: kernelnewbies
@Venkateswarlu: Henceforth, please include a subject in your email.
On Thu, Jun 16, 2011 at 7:55 AM, Javier Martinez Canillas
<martinez.javier@gmail.com> wrote:
> On Thu, Jun 16, 2011 at 8:41 PM, Venkateswarlu P
> <p.venkatesh551@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
>>
>
> In the end the Linux kernel is just a big project written in C.
> Instead of asking what files do you need to understand. You should ask
> yourself what subsystem do you want to learn?
>
> Focus on functionality and browse the code to understand. As others
> pointed before there are lots of good books that will give you a high
> overview of the kernel.
>
> The first book that I recommend reading is Linux kernel development by
> Robert Love, but only if you have already read a book on operating
> system concepts. The best book for me is Andrew Tanenbaum's Modern
> Operating Systems.
>
> Hope it helps,
>
> --
> Javier Mart?nez Canillas
> (+34) 682 39 81 69
> PhD Student in High Performance Computing
> Computer Architecture and Operating System Department (CAOS)
> Universitat Aut?noma de Barcelona
> Barcelona, Spain
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* (no subject)
2011-06-16 13:19 ` Anand Arumugam
@ 2011-06-16 15:37 ` Anand Moon
2011-06-19 21:25 ` abhijeet tripathi
1 sibling, 0 replies; 6+ messages in thread
From: Anand Moon @ 2011-06-16 15:37 UTC (permalink / raw)
To: kernelnewbies
Hi Venkateswarlu,
For Better understanding of do_fork you need to see the following link
http://elinux.org/Kernel_Function_Trace
This link tell you what all kernel functions?are getting called when you fork
from userspace.
with regards
Anand Moon
________________________________
From: Anand Arumugam <anand.arumug@gmail.com>
To: Javier Martinez Canillas <martinez.javier@gmail.com>
Cc: Kernelnewbies at kernelnewbies.org; Venkateswarlu P <p.venkatesh551@gmail.com>
Sent: Thu, June 16, 2011 6:49:51 PM
Subject: Re:
@Venkateswarlu: Henceforth, please include a subject in your email.
On Thu, Jun 16, 2011 at 7:55 AM, Javier Martinez Canillas
<martinez.javier@gmail.com> wrote:
> On Thu, Jun 16, 2011 at 8:41 PM, Venkateswarlu P
> <p.venkatesh551@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
>>
>
> In the end the Linux kernel is just a big project written in C.
> Instead of asking what files do you need to understand. You should ask
> yourself what subsystem do you want to learn?
>
> Focus on functionality and browse the code to understand. As others
> pointed before there are lots of good books that will give you a high
> overview of the kernel.
>
> The first book that I recommend reading is Linux kernel development by
> Robert Love, but only if you have already read a book on operating
> system concepts. The best book for me is Andrew Tanenbaum's Modern
> Operating Systems.
>
> Hope it helps,
>
> --
> Javier Mart?nez Canillas
> (+34) 682 39 81 69
> PhD Student in High Performance Computing
> Computer Architecture and Operating System Department (CAOS)
> Universitat Aut?noma de Barcelona
> Barcelona, Spain
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110616/b846bb7a/attachment.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* (no subject)
2011-06-16 13:19 ` Anand Arumugam
2011-06-16 15:37 ` Anand Moon
@ 2011-06-19 21:25 ` abhijeet tripathi
1 sibling, 0 replies; 6+ messages in thread
From: abhijeet tripathi @ 2011-06-19 21:25 UTC (permalink / raw)
To: kernelnewbies
Venkat,
You can use?http://lxr.linux.no/?to browse for kernel source. It's an online tool and you can directly see the usage, declaration, definition of functions, structures, etc.
My $.02
?
Best regards,
Abhijeet Tripathi
Email: abhijeet.tripathy at yahoo.co.in
----- Original Message -----
From: Anand Arumugam <anand.arumug@gmail.com>
To: Javier Martinez Canillas <martinez.javier@gmail.com>
Cc: Kernelnewbies at kernelnewbies.org; Venkateswarlu P <p.venkatesh551@gmail.com>
Sent: Thursday, 16 June 2011 6:19 AM
Subject: Re:
@Venkateswarlu: Henceforth, please include a subject in your email.
On Thu, Jun 16, 2011 at 7:55 AM, Javier Martinez Canillas
<martinez.javier@gmail.com> wrote:
> On Thu, Jun 16, 2011 at 8:41 PM, Venkateswarlu P
> <p.venkatesh551@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
>>
>
> In the end the Linux kernel is just a big project written in C.
> Instead of asking what files do you need to understand. You should ask
> yourself what subsystem do you want to learn?
>
> Focus on functionality and browse the code to understand. As others
> pointed before there are lots of good books that will give you a high
> overview of the kernel.
>
> The first book that I recommend reading is Linux kernel development by
> Robert Love, but only if you have already read a book on operating
> system concepts. The best book for me is Andrew Tanenbaum's Modern
> Operating Systems.
>
> Hope it helps,
>
> --
> Javier Mart?nez Canillas
> (+34) 682 39 81 69
> PhD Student in High Performance Computing
> Computer Architecture and Operating System Department (CAOS)
> Universitat Aut?noma de Barcelona
> Barcelona, Spain
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-06-19 21:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-16 11:41 No subject Venkateswarlu P
2011-06-16 11:47 ` Anuz Pratap Singh Tomar
2011-06-16 11:55 ` Javier Martinez Canillas
2011-06-16 13:19 ` Anand Arumugam
2011-06-16 15:37 ` Anand Moon
2011-06-19 21:25 ` abhijeet tripathi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).