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 using source navigation.
□ Kernel source files can be displayed in hypertext representation using file view.
□ Positions at which symbols are defined or used can be found with an identifier search. Figure B-5 shows what the output of the vfs_follow_link function looks like.
$ LXRIirlUK ■ MOilllJ MreToy
Fils Edil ^Ew HiTlory BooVmarki TbcI* Help
^ • - lit3 j* Û tit1p://ichraíding*!ilcy¡-bJDTíf'llinu.i/>BS»';ti
íe|wn5U5E •'"ettin.g Stoitad QLweat Headlineri i L>P >Cf I LXR I llmix' History
|
Documonlalron | ||
|
arch | ||
|
block | ||
|
crypto | ||
|
drivers | ||
|
r§ | ||
|
Include | ||
|
trt£t | ||
|
IPC | ||
|
kern a 1 | ||
|
Mb | ||
|
net | ||
|
SBmplBS | ||
|
scripts | ||
|
aocurily | ||
|
sound | ||
|
.qkinncre |
620 |
200S-Q1 -06 12:45:59 -0B0Q |
|
mailmap |
3657 |
20O7-D7-0B 14:32:26 -D70D |
|
COPYING |
t8603 |
2007 07 06 14:32:26 0700 |
|
CREDITS |
92230 |
2ÛCÛ-Û1 -06 12:45:59 -O&OQ |
|
Kbuild |
1390 |
200» Ol 06 12:43:39 -DBOO |
|
MAINTAINORS |
93957 |
2000-01-24 13:58:53 -0&00 |
|
Makefile |
33156 |
200B-01-24 13:5B:53 -OBDD |
|
README |
16030 |
2007-07-06 14:32:26 0700 |
|
REPORTING-DUGS |
3119 |
2007*07-08 14:32:26 -0700 |
-ECl
I Searcli |
Code search: schedule
Function kernel/sched c lina 3619 [umqh ]
Local variable bul.c, line 1024 tuMaiei f»fof»/Unux-2,6/xfs buf.c, line 1113 knmc i «ound/pcl/mifl9652/hdip.cl Une 3685 imam? i iound/pd/mTB9652-lhdsprn.c, line 3431 iu.«m.i Class, stmct, or union member driveral3csi/ncr33c0xx-c, tino 134B lunge i dnvprB/usbiTiasL/iBpl 16x.h, lino 324 )mnpg | driVgr3/usbfliosl/al611 h, lino 166 rtiMqe .i includp/nutôp wh. Imp 602 lumjc i
Function prototype or declaration archAjm/indLïdai'UEsr h, Una 39 |um$je | incluclB^lmuxj'fichad.h. line 2BB (Lim^n ]
Filename search: schedule
DQcumantaSiQn^aarura-ramaval-schadula.txf Freetext search; schedule (1926 estimated hits)
dnvore/usbfliasl/phct-achad.c, lino 1105 nacrai drivorg/usbL^iosi/uhci-hcct.h. lino 107 [38%) Brch/mipaiHarnpl/procPES.c. lino 323 cayn»i dnversi'ngl/lrdaj'sii dpv h, lino 128iar»t dnvorB/rntdftjbt/wLc. Imp 103B(w%] kernfllillmer.c, line 1019 ibt%> -Inclutf^lnuft'octievtçe.h, Hie -
77» original LXR software by f/ra LXR community. Ibis e/f&vmerrta! verson by txrtjSHiowt.nQ.
Figure B-5: View of the information on schedule.
□ The kernel source text can be scanned for any string using freetext search.
□ File search enables users to search for files by name if they don't know where those files are located in the sources.
Continue reading here: B42 Patch and Diff
Was this article helpful?