773
Comment: Initial page content. TODO: Add descriptions for ctags, cscope. Add more tools.
|
2342
consolidating all scattered info about IDEs / Tools in one page
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Tools to help edit / navigate / hack the Kernel source: | ## page was renamed from Tools This page provides information about the available tools to help edit / navigate / hack the Kernel source: |
Line 3: | Line 4: |
= Navigation Aid = | == Downloading == |
Line 5: | Line 6: |
* [http://lxr.linux.no/ Cross-Referencing Linux] : Nice website to browse the kernel source, search for identifiers, and diff between kernel versions. Uses [http://sourceforge.net/projects/lxr/ lxr] is at the backend. | '''Kernel source management with git''' |
Line 7: | Line 8: |
* [http://www.kernelhq.org/ KernelHQ] : Another website to browse/navigate the kernel source. Has all the kernel sources since 1.0. | If you want to download the lastest kernel source, you need git. You can get it from [http://git.or.cz/index.html here]. * There is a very good [http://linux.yyz.us/git-howto.html Kernel Hackers' Guide to git] * [http://www.wlug.org.nz/KernelDevelopmentWithGit Kernel Development With Git] |
Line 9: | Line 12: |
= Navigation Utilities = | |
Line 11: | Line 13: |
* [http://ctags.sourceforge.net/ ctags] | '''Kernel tarballs''' |
Line 13: | Line 15: |
* [http://cscope.sourceforge.net/ cscope] (check out the tutorials: [http://cscope.sourceforge.net/large_projects.html Using Cscope on large projects (example: the Linux kernel)] and [http://cscope.sourceforge.net/cscope_vim_tutorial.html Using Cscope with Vim]) | The alternative, more "classic", way to download a kernel source tree release is to pull it from http://kernel.org/ as a compressed archive file. == Navigation Aid == Many tools allow you to index the entire kernel source tree to faciliate its browsing. This makes learning to find your landmarks in the code a lot easier and allow you to quickly find the declarations / definitions of unknown data structures. '''Indexing tools''' * [http://lxr.linux.no/ LXR project] : Nice website to browse the kernel source, search for identifiers, and diff between kernel versions. Uses [http://sourceforge.net/projects/lxr/ lxr] as its backend. * Gonzui http://softice.lakeland.usf.edu/wiki/index.php/Setting_up_Gonzui '''Online browsing sites''' Some websites make it their duty to archive indexed kernel source trees: * [http://lxr.linux.no/source/ LXR Project] * [http://www.kernelhq.org/ KernelHQ] : Another website to browse/navigate the kernel source. Has all the kernel sources since 1.0. * [http://fxr.watson.org/ FXR watson] FreeBSD and Linux Kernel Cross-Reference * (An archive of all kernel versions was [http://www.memalpha.cx/Linux/Kernel/ here].) '''Navigation Utilities''' The following help you incorporate such browsing capabilities in editors: * [http://ctags.sourceforge.net/ ctags] * [http://cscope.sourceforge.net/ cscope]. Tutorials: [http://cscope.sourceforge.net/large_projects.html Using with large projects], [http://cscope.sourceforge.net/cscope_vim_tutorial.html Using Cscope with Vim]. == Version Control == Navigate the changesets applied to: * [http://kernel.org/git/?p=linux/kernel/git/marcelo/linux-2.4.git;a=summary linux-2.4] * [http://kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=summary linux-2.6] |
This page provides information about the available tools to help edit / navigate / hack the Kernel source:
Downloading
Kernel source management with git
If you want to download the lastest kernel source, you need git. You can get it from [http://git.or.cz/index.html here].
There is a very good [http://linux.yyz.us/git-howto.html Kernel Hackers' Guide to git]
[http://www.wlug.org.nz/KernelDevelopmentWithGit Kernel Development With Git]
Kernel tarballs
The alternative, more "classic", way to download a kernel source tree release is to pull it from http://kernel.org/ as a compressed archive file.
Navigation Aid
Many tools allow you to index the entire kernel source tree to faciliate its browsing. This makes learning to find your landmarks in the code a lot easier and allow you to quickly find the declarations / definitions of unknown data structures.
Indexing tools
[http://lxr.linux.no/ LXR project] : Nice website to browse the kernel source, search for identifiers, and diff between kernel versions. Uses [http://sourceforge.net/projects/lxr/ lxr] as its backend.
Gonzui http://softice.lakeland.usf.edu/wiki/index.php/Setting_up_Gonzui
Online browsing sites
Some websites make it their duty to archive indexed kernel source trees:
[http://lxr.linux.no/source/ LXR Project]
[http://www.kernelhq.org/ KernelHQ] : Another website to browse/navigate the kernel source. Has all the kernel sources since 1.0.
[http://fxr.watson.org/ FXR watson] FreeBSD and Linux Kernel Cross-Reference
(An archive of all kernel versions was [http://www.memalpha.cx/Linux/Kernel/ here].)
Navigation Utilities
The following help you incorporate such browsing capabilities in editors:
[http://ctags.sourceforge.net/ ctags]
[http://cscope.sourceforge.net/ cscope]. Tutorials: [http://cscope.sourceforge.net/large_projects.html Using with large projects], [http://cscope.sourceforge.net/cscope_vim_tutorial.html Using Cscope with Vim].
Version Control
Navigate the changesets applied to: