kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* how to look for source code in kernel
@ 2012-12-27 17:31 kishore kumar
  2012-12-27 18:40 ` Jonathan Neuschäfer
  0 siblings, 1 reply; 9+ messages in thread
From: kishore kumar @ 2012-12-27 17:31 UTC (permalink / raw)
  To: kernelnewbies

can anybody tell me how to look into source code, as most are hidden in
kernel.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121227/6a538c26/attachment.html 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* how to look for source code in kernel
  2012-12-27 17:31 how to look for source code in kernel kishore kumar
@ 2012-12-27 18:40 ` Jonathan Neuschäfer
  2012-12-27 19:53   ` Henrique Rodrigues
  0 siblings, 1 reply; 9+ messages in thread
From: Jonathan Neuschäfer @ 2012-12-27 18:40 UTC (permalink / raw)
  To: kernelnewbies

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* how to look for source code in kernel
  2012-12-27 18:40 ` Jonathan Neuschäfer
@ 2012-12-27 19:53   ` Henrique Rodrigues
  2012-12-28  4:49     ` anish singh
  0 siblings, 1 reply; 9+ messages in thread
From: Henrique Rodrigues @ 2012-12-27 19:53 UTC (permalink / raw)
  To: kernelnewbies

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 <j.neuschaefer@gmx.net
> 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 at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
Henrique Rodrigues
http://www.dcc.ufmg.br/~hsr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121227/90cc4d90/attachment.html 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* how to look for source code in kernel
  2012-12-27 19:53   ` Henrique Rodrigues
@ 2012-12-28  4:49     ` anish singh
  2012-12-28  5:12       ` amit mehta
  0 siblings, 1 reply; 9+ messages in thread
From: anish singh @ 2012-12-28  4:49 UTC (permalink / raw)
  To: kernelnewbies

On Fri, Dec 28, 2012 at 1:23 AM, Henrique Rodrigues
<henriquesilvar@gmail.com> 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
> <j.neuschaefer@gmx.net> 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 at kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
>
> --
> Henrique Rodrigues
> http://www.dcc.ufmg.br/~hsr
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* how to look for source code in kernel
  2012-12-28  4:49     ` anish singh
@ 2012-12-28  5:12       ` amit mehta
  2012-12-28  5:19         ` anish singh
  0 siblings, 1 reply; 9+ messages in thread
From: amit mehta @ 2012-12-28  5:12 UTC (permalink / raw)
  To: kernelnewbies

>>> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* how to look for source code in kernel
  2012-12-28  5:12       ` amit mehta
@ 2012-12-28  5:19         ` anish singh
  2012-12-28  9:49           ` Mulyadi Santosa
       [not found]           ` <87a9syhbma.fsf@xmission.com>
  0 siblings, 2 replies; 9+ messages in thread
From: anish singh @ 2012-12-28  5:19 UTC (permalink / raw)
  To: kernelnewbies

On Fri, Dec 28, 2012 at 10:42 AM, amit mehta <gmate.amit@gmail.com> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* how to look for source code in kernel
  2012-12-28  5:19         ` anish singh
@ 2012-12-28  9:49           ` Mulyadi Santosa
  2012-12-28 10:11             ` Arun KS
       [not found]           ` <87a9syhbma.fsf@xmission.com>
  1 sibling, 1 reply; 9+ messages in thread
From: Mulyadi Santosa @ 2012-12-28  9:49 UTC (permalink / raw)
  To: kernelnewbies

On Fri, Dec 28, 2012 at 12:19 PM, anish singh
<anish198519851985@gmail.com> wrote:
> On Fri, Dec 28, 2012 at 10:42 AM, amit mehta <gmate.amit@gmail.com> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* how to look for source code in kernel
  2012-12-28  9:49           ` Mulyadi Santosa
@ 2012-12-28 10:11             ` Arun KS
  0 siblings, 0 replies; 9+ messages in thread
From: Arun KS @ 2012-12-28 10:11 UTC (permalink / raw)
  To: kernelnewbies

On Fri, Dec 28, 2012 at 3:19 PM, Mulyadi Santosa
<mulyadi.santosa@gmail.com>wrote:

> On Fri, Dec 28, 2012 at 12:19 PM, anish singh
> <anish198519851985@gmail.com> wrote:
> > On Fri, Dec 28, 2012 at 10:42 AM, amit mehta <gmate.amit@gmail.com>
> 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 at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20121228/914282d7/attachment.html 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* how to look for source code in kernel
       [not found]               ` <87d2xuez32.fsf@xmission.com>
@ 2012-12-28 20:42                 ` Jonathan Neuschäfer
  0 siblings, 0 replies; 9+ messages in thread
From: Jonathan Neuschäfer @ 2012-12-28 20:42 UTC (permalink / raw)
  To: kernelnewbies

On Fri, Dec 28, 2012 at 11:49:53AM -0800, Eric W. Biederman wrote:
> Al Viro <viro@ZenIV.linux.org.uk> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-12-28 20:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-27 17:31 how to look for source code in kernel kishore kumar
2012-12-27 18:40 ` Jonathan Neuschäfer
2012-12-27 19:53   ` Henrique Rodrigues
2012-12-28  4:49     ` anish singh
2012-12-28  5:12       ` amit mehta
2012-12-28  5:19         ` anish singh
2012-12-28  9:49           ` Mulyadi Santosa
2012-12-28 10:11             ` Arun KS
     [not found]           ` <87a9syhbma.fsf@xmission.com>
     [not found]             ` <20121228160927.GY4939@ZenIV.linux.org.uk>
     [not found]               ` <87d2xuez32.fsf@xmission.com>
2012-12-28 20:42                 ` Jonathan Neuschäfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).