ctags + cscope + vim The Makefile has targets for indexing the kernel.. Sometimes "find -exec grep" helps... I will take a look in opengrok
Em 13/04/2017 7:40 AM, "manty kuma" <mantyk...@gmail.com> escreveu: > Here you can see where sk_buff structure is delared. > http://androidxref.com/kernel_3.18/xref/include/linux/skbuff.h#506 > > May be you want to get familiar on how to use opengroks interface by > seeing some youtube video or some online documents... > > Whatever you want to do wrt to source code browsing, this can do it for > you very quickly. > > On Thu, Apr 13, 2017 at 6:24 AM, Code Soldier1 <codesoldi...@gmail.com> > wrote: > >> Thanks a lot. I am still not able to lookup structures, such as >> sk_buff and where does it's fields get set/used. >> >> On Tue, Apr 11, 2017 at 4:56 PM, manty kuma <mantyk...@gmail.com> wrote: >> > I like Opengrok. It is insanely fast in giving search results. However >> it >> > takes sometime to setup and you need to index it before the first use. >> > >> > If you are ok with browsing someold kernels, then you can use this link >> > http://androidxref.com/kernel_3.18/ which is maintained privately. >> > >> > If you want to use opengrok on more recent linux releases, you may have >> to >> > set it up yourself. >> > >> > On Wed, Apr 12, 2017 at 5:13 AM, Mandeep Sandhu >> > <mandeepsandhu....@gmail.com> wrote: >> >>> >> >>> >> >>> I am looking for something that can list all the places that a certain >> >>> field of a certain structure is used. For example, sk_buff has a field >> >>> called destructor, but so do many other data structures. How do I >> >>> search for places where just the destructor field of sk_buff. >> >> >> >> >> >> I think lxr has an identifier & free-text search (powered by google). >> If >> >> that doesn't do it for you, you can go "old school" and try cscope >> maybe? >> >> >> >> HTH, >> >> -mandeep >> >> >> >> >> >>> >> >>> >> >>> Thanks a lot. >> >>> >> >>> -- >> >>> CS1 >> >>> >> >>> _______________________________________________ >> >>> Kernelnewbies mailing list >> >>> Kernelnewbies@kernelnewbies.org >> >>> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >> >> >> >> >> >> >> >> _______________________________________________ >> >> Kernelnewbies mailing list >> >> Kernelnewbies@kernelnewbies.org >> >> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >> >> >> > >> >> >> >> -- >> CS1 >> > > > _______________________________________________ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > >
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies