Re: How to browse the code

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

 



On Thu, 13 Apr 2017 08:41:18 -0300, "Daniel." said:

> The Makefile has targets for indexing the kernel.. Sometimes "find -exec
> grep" helps... I will take a look in opengrok

find |xargs grep.   Will run a lot faster because it runs one grep for several
hundred files, rather than one per file.  For bonus points, if you have
a git tree, 'find *' at the top level will run faster than 'find .', because
* will glob into something that doesn't incude .git so no traversal into
that section of the source tree.

git grep   works too, if you have a git tree like any serious kernel hacker.

Attachment: pgpPpXCYkgHsN.pgp
Description: PGP signature

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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