RE: Easily find the source file containing an entry point

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

 



kernelnewbies-bounce@xxxxxxxxxxxx wrote:
> I am looking at the kernel and I see a call to foobar.
> 
> How can I easily determine which source file has the foobar code?
> 

Assuming the source code is limited to .c, .cpp & .h files, try using "cscope -Rk" in the root. It is very useful.

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