Re: best way to read kernel code

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

 



On Mon, 2010-04-26 at 13:35 +0530, SandeepKsinha wrote:
> On Mon, Apr 26, 2010 at 12:58 PM, Onkar Mahajan <kern.devel@xxxxxxxxx> wrote:
> > Hi All ,
> >
> > What is the fastest and the best way /method to read
> > lots of kernel code ?
> >
> 
> Book: Understanding the Linux Kernel, O'reily publication
> Net: lxr.linux.no

I second lxr. Unfortunately, lxr.linux.no appears to be down at the
moment.

A site that provides lxr output on the web is:
  http://lxr.free-electrons.com/

But it is best to build the html locally; it responds faster, uses less
of your bandwidth, and (most importantly) doesn't use up bandwidth from
the above site.

To install on debian/ubuntu:
  sudo apt-get install lxr

This installs both lxr and apache httpd. You then need to configure
apache httpd to point to the lxr scripts. Install documentation isn't
easy to find; unzip /usr/share/doc/lxr/README.Debian.gz to find out how
to configure the rest.

I presume if you're not on a debian-derived system that something
similar will work.


Note that there appears to be a fork/continuation on sourceforge by one
of the original two authors:
  http://sourceforge.net/projects/lxr

I don't know if that version is better or not, but it certainly is
newer; the original lxr hasn't been changed in years. That's not
necessarily a bad thing, though.

Regards,
Simon


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[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