lkml.org 
[lkml]   [1998]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: how to learn kernel programming
Date
> From: Adam Wiggins <madman@zip.com.au>
> Date: Fri, 23 Jan 1998 18:19:54 +1100 (EST)
> Subject: Re: how to learn kernel programming
>
> On Fri, 23 Jan 1998 aem@netcom.ca wrote:
>
> > > As an aside, I tend to find that I learn virtually nothing from sitting down
> > > and reading source code. I do, however, learn a great deal by tracing source
> > > code in an attempt to examine a particular execution path in detail.
> >
> > I kind of agree. I've learned much about Linux this way
> > [but I've learned even more by trying to write kernel code]
> >
> > I started first by tracing the code from boot to init, then each
> > system call while making plenty of notes along the way.
>
> How exactly do you go about tracing code from to init?
> there is a lot of src there and finding functions when your new to the
> structure could be hard.

I started with ctags, gctags and etags programs for vi or emacs to easily
find the defined objects. It made a huge difference.

> Cheers Adam

Slainte Mhath, rgb
--
Richard Guy Briggs -- PGP key available Auto-Free Ottawa!
rgb at conscoop dot flora dot org http://www.flora.org/afo/
http://www.achilles.net/~rgb/ Ottawa-Rideau Bioregion, Canada
Please send all spam to root@127.0.0.1

"We left our footprints in the Earth
And punched a hole right through the sky" -- S.Hogarth/J.Helmer(Marillion)

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:1.055 / U:1.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site