How to browse the code
Daniel.
danielhilst at gmail.com
Thu Apr 13 07:41:18 EDT 2017
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" <mantykuma at 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 <codesoldier1 at 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 <mantykuma at 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.chd at 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 at kernelnewbies.org
>> >>> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>> >>
>> >>
>> >>
>> >> _______________________________________________
>> >> Kernelnewbies mailing list
>> >> Kernelnewbies at kernelnewbies.org
>> >> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>> >>
>> >
>>
>>
>>
>> --
>> CS1
>>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170413/e37fe8b3/attachment-0001.html
More information about the Kernelnewbies
mailing list