Hello,
On Wed, 09 Sep 2009 10:21:42 -0400
Ed Cashin <[email protected]> wrote:
> Finally, here's a script that you might like to use in searching for
> specific functions and macros in the kernel. Often the best way to
> understand something is to look at how it is being used in the
> kernel. There are alternatives like cscope.
What about ctags? cscope?
$kernelsource> make tags or make cscope
Example ctags:
$ vim
$kernelsource> make tags
- :set tags=/kernelsource/tags - Point tags file
- :ta string - tag Find a tag.
- ctrl ] - Find the tag under the cursor.
- ctrl t - Return to previous location.
- vi -t tag - Start vi and position the cursor at the
file and line where "tag" is defined.
Cheers,
Douglas
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ