Re: how to look for source code in kernel
On Fri, Dec 28, 2012 at 11:49:53AM -0800, Eric W. Biederman wrote: > Al Viro writes: > > > On Thu, Dec 27, 2012 at 11:36:13PM -0800, Eric W. Biederman wrote: > >> But then I am probably peculiar keeping an index of the source code in > >> my head. When I need to look for something and I don't know where to > >> find it I do. > >> > >> git-ls-files | xargs fgrep 'struct f2fs_inode' > > > > What's wrong with git grep? > > I haven't learned it yet. git-ls-files is a lot better than find > speed wise so is very much worth doing.I haven't a clue if > there is an advantage to git-grep, over just knowing find, xargs, and > grep. Brevity. Jonathan ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: how to look for source code in kernel
On Fri, Dec 28, 2012 at 3:19 PM, Mulyadi Santosa wrote: > On Fri, Dec 28, 2012 at 12:19 PM, anish singh > wrote: > > On Fri, Dec 28, 2012 at 10:42 AM, amit mehta > wrote: > > On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote: > > > can anybody tell me how to look into source code, as most are > hidden in > > > kernel. > > > > You can find the Linux source code at http://kernel.org/ . > >>> for browsing the code unfortunately there is no good tool as in > windows we > >>> have source insight.We can use wine in linux but that sucks. > >> Funny you say that! > >> Never heard of cscope, ctags ? > > It is not as convenient as source insight or is it? > > I read somewhere that you can use Eclipse IDE with certain plugin to > do convenient source code browsing > Using vim and ctags will be little hard in the beginning. But IMHO the speed you attain once you are acquainted, will not match anything else. I recommend to usage of linux as we all are Linux Guys :-) > -- > regards, > > Mulyadi Santosa > Freelance Linux trainer and consultant > > blog: the-hydra.blogspot.com > training: mulyaditraining.blogspot.com > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: how to look for source code in kernel
On Fri, Dec 28, 2012 at 12:19 PM, anish singh wrote: > On Fri, Dec 28, 2012 at 10:42 AM, amit mehta wrote: > On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote: > > can anybody tell me how to look into source code, as most are hidden in > > kernel. > > You can find the Linux source code at http://kernel.org/ . >>> for browsing the code unfortunately there is no good tool as in windows we >>> have source insight.We can use wine in linux but that sucks. >> Funny you say that! >> Never heard of cscope, ctags ? > It is not as convenient as source insight or is it? I read somewhere that you can use Eclipse IDE with certain plugin to do convenient source code browsing -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: how to look for source code in kernel
On Fri, Dec 28, 2012 at 10:42 AM, amit mehta wrote: On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote: > can anybody tell me how to look into source code, as most are hidden in > kernel. You can find the Linux source code at http://kernel.org/ . >> for browsing the code unfortunately there is no good tool as in windows we >> have source insight.We can use wine in linux but that sucks. > Funny you say that! > Never heard of cscope, ctags ? It is not as convenient as source insight or is it? > > -Amit ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: how to look for source code in kernel
>>> On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote: >>> > can anybody tell me how to look into source code, as most are hidden in >>> > kernel. >>> >>> You can find the Linux source code at http://kernel.org/ . > for browsing the code unfortunately there is no good tool as in windows we > have source insight.We can use wine in linux but that sucks. Funny you say that! Never heard of cscope, ctags ? -Amit ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: how to look for source code in kernel
On Fri, Dec 28, 2012 at 1:23 AM, Henrique Rodrigues wrote: > http://lxr.linux.no/ is a really good linux cross referencing website for > code reference. > > On Thu, Dec 27, 2012 at 10:40 AM, Jonathan Neuschäfer > wrote: >> >> On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote: >> > can anybody tell me how to look into source code, as most are hidden in >> > kernel. >> >> You can find the Linux source code at http://kernel.org/ . for browsing the code unfortunately there is no good tool as in windows we have source insight.We can use wine in linux but that sucks. >> >> HTH, >> Jonathan Neuschäfer >> >> ___ >> Kernelnewbies mailing list >> Kernelnewbies@kernelnewbies.org >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > > > > > -- > Henrique Rodrigues > http://www.dcc.ufmg.br/~hsr > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: how to look for source code in kernel
http://lxr.linux.no/ is a really good linux cross referencing website for code reference. On Thu, Dec 27, 2012 at 10:40 AM, Jonathan Neuschäfer wrote: > On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote: > > can anybody tell me how to look into source code, as most are hidden in > > kernel. > > You can find the Linux source code at http://kernel.org/ . > > HTH, > Jonathan Neuschäfer > > ___ > Kernelnewbies mailing list > Kernelnewbies@kernelnewbies.org > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies > -- Henrique Rodrigues http://www.dcc.ufmg.br/~hsr ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Re: how to look for source code in kernel
On Thu, Dec 27, 2012 at 11:01:52PM +0530, kishore kumar wrote: > can anybody tell me how to look into source code, as most are hidden in > kernel. You can find the Linux source code at http://kernel.org/ . HTH, Jonathan Neuschäfer ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
how to look for source code in kernel
can anybody tell me how to look into source code, as most are hidden in kernel. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies