Am Montag, den 11.01.2010, 13:26 +0000 schrieb David Wooff: > Hi, > this may be a stupid question. As I look around the kernel and driver > source code I often find it difficult to find the "real" instance of a > function. > e.g. if I use grep to find occurrences of say "gpio_request", I get a > long list to search through, but I know many of the files are not even > compiled into my build. Is there an easy way to find the real place > where a function is coded for my particular build? > This also applies to usage - say I want to find some example of the > use "gpio_request" in my particular configuration so I can copy it to > save time or even to know that it is even used in my configuration. > Is there a quick and easy way to do this?
I think LXR may be what you are looking for. If you only want to look up symbols in the official linux kernel source, you can use http://lxr.linux.no. The link for LXR is there too. -Erwin _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev