Linux Kernel Architecture

(Jacob Rumans) #1
Mauerer runapp02.tex V2 - 09/04/2008 6:09pm Page 1162

Appendix B: Working with the Source Code


A more experimental version of LXR that is actively maintained is available from the git repository
git://lxr.linux.no/git/lxrng.git. It provides more features than thevariant described previously,
and can, for instance, employ proper databases like PostgreSQL to store the generated information about
the source code. The installation method for this experimental version is still in a constant flux, so this
appendix does not discuss how to install the software — for information about this version, refer to the
accompanying documentation.

Working with LXR


LXR provides the following functions for viewing kernel components:

❑ Directories of the source tree can be traversed and files can be selected by name usingsource
navigation.
❑ Kernel source files can be displayed in hypertext representation usingfile view.
❑ Positions at which symbols are defined or used can be found with anidentifier search.FigureB-5
shows what the output of thevfs_follow_linkfunction looks like.

Figure B-5: View of the information onschedule.
Free download pdf