How to browse the code

valdis.kletnieks at vt.edu valdis.kletnieks at vt.edu
Thu Apr 13 10:22:30 EDT 2017


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170413/cca42aa0/attachment.bin 


More information about the Kernelnewbies mailing list