Re: browsing the kernel source with ctags?

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

 



On Wed, Jan 20, 2010 at 02:23:04PM -0800, Tony Miller wrote:
> Yeah you're right... ^_^
> 
> I guess ideally, I'd want to find out *which* definition of
> do_gettimeofday() is being used for the function call I'm looking at. Maybe
> cscope would help with that.
> 
> I tried
>    make tags
> 
> and then tried to look up do_gettimeofday() again, and I got directed to
> include/linux/time.h, which has the function prototype, which is helpful. It
> would still be even nicer to see the function body, perhaps another tool
> could help with that.

Use cscope, it knows the difference between prototypes and where the
function is defined.

good luck,

greg k-h

--
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