Search Ali's Blog

Tuesday, October 25, 2011

Search Linux Kernel code from Google Chrome

If you're a kernel developer, you must be familiar with Linux Cross Reference (LXR) sites.. there are a few of them out there, but I find http://lxr.linux.no the most convinent and the the fastest, it also uses a newer version of LXR than others.

If you're a Google Chrome user, you can easily add a new custom search type for LXR:
1. Open chrome and go to: chrome://settings/searchEngines
2. Add the following entry: Search engine: lxr.linux.no, keyword: lxr, Query: http://lxr.linux.no/linux/+search=%s

3. Now you can search for any Linux kernel symbol directly from chrome, for example: go to the toolbar and type "lxr skb_dst"

4. Chrome will build the URL query for you, and results are shown directly in the browser tab.. happy kernel browsing :)

4 comments:

Steve Finnell said...
This comment has been removed by a blog administrator.
Amir Watad said...

Neat! Thanks.

ROGERSPHONECARDS.COM said...
This comment has been removed by a blog administrator.
Shahana said...

Yes, chrome is very useful.