What you need is cscope, and you can "make cscope" in the kernel source code.
On 2009-02-25, Peter Teoh wrote:
> Oh yes, i do "make tags" (for Linux kernel source) or "find . -name
> '*.c' -o -name '*.h' > cpp.dat" and "ctags `cat cpp.dat`" whenever
> possible as well. Taught to us (kernelnewb
Oh yes, i do "make tags" (for Linux kernel source) or "find . -name
'*.c' -o -name '*.h' > cpp.dat" and "ctags `cat cpp.dat`" whenever
possible as well. Taught to us (kernelnewbies group) by Rene Herman
in the past - does anyone what has happened to him?
But I do have a problem, which lxr (+sea
hi peter
did you ever gave a try to ctags in 'alliance' with vim?
just a hint ...
http://scottr.org/blog/2008/feb/24/ctags-and-vim/
have fun
TR
Am Dienstag, den 24.02.2009, 11:44 -0500 schrieb Peter Teoh:
> On Tue, Feb 24, 2009 at 3:38 AM, Thomas Petazzoni
> wrote:
> > Le Tue, 24 Feb 2009
On Tue, Feb 24, 2009 at 3:38 AM, Thomas Petazzoni
wrote:
> Le Tue, 24 Feb 2009 09:11:53 +0800,
> Peter Teoh a écrit :
>
>> But then it also puzzled me, because ioctl() in user space required a
>> open file descriptor as the first parameter, which is derived from
>> open() (as specified from "man
Hi,
my previous post with open method seems to be wrong.
On Sun, Feb 22, 2009 at 8:11 PM, Kevin Wilson wrote:
> Hello,
>
> Following is a simple kernel module of 40 lines which only registers a
> misc device. I insmod the module and it is ok; the return value of
> misc_register() is 0.
> ls -al
Le Tue, 24 Feb 2009 09:11:53 +0800,
Peter Teoh a écrit :
> But then it also puzzled me, because ioctl() in user space required a
> open file descriptor as the first parameter, which is derived from
> open() (as specified from "man ioctl"). so then how is the open()
> from userspace passed down
On Mon, Feb 23, 2009 at 3:11 AM, Kevin Wilson wrote:
> Hello,
>
> Following is a simple kernel module of 40 lines which only registers a
> misc device. I insmod the module and it is ok; the return value of
> misc_register() is 0.
> ls -al /dev/mymodule
> gives:
> crw-rw 1 root root 10, 300 22
Hi,
On Sun, Feb 22, 2009 at 8:11 PM, Kevin Wilson wrote:
> Hello,
>
> Following is a simple kernel module of 40 lines which only registers a
> misc device. I insmod the module and it is ok; the return value of
> misc_register() is 0.
> ls -al /dev/mymodule
> gives:
> crw-rw 1 root root 10, 3
Hello,
Following is a simple kernel module of 40 lines which only registers a
misc device. I insmod the module and it is ok; the return value of
misc_register() is 0.
ls -al /dev/mymodule
gives:
crw-rw 1 root root 10, 300 22-02-09 20:58 /dev/mymodule
which is ok.
However, when I try, from a