On Mon, May 25, 2015 at 11:29 PM, James Bottomley <jbottom...@odin.com> wrote: > Sure, but it's mostly people like us doing it and find . -name Kconfig\* > -exec grep -3 <symbol> {} /dev/null \; usually does the trick for me.
git grep -w3 <symbol> -- "*Kconf*" And life becomes even easier with the following in your ~/.gitconfig: [alias] kgrep = !git grep $* -- \"*Kconf*\" git kgrep -w3 <symbol> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/