Re: [NEWBIE]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Wed, 09 Sep 2009 10:21:42 -0400
Ed Cashin <ecashin@xxxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux