Re: Tracing files that opens.

2000-11-11 Thread Michael Vines
On Sat, 11 Nov 2000, Magnus Naeslund(b) wrote: > Is there a nice way to trap on file open() and stat() ? > That way i could have nice file statistics. There was a thread about this a couple days ago. http://x52.deja.com/threadmsg_ct.xp?AN=690272012.1=0=973965178.1986985995 Michael

Re: Tracing files that opens.

2000-11-11 Thread Michael Vines
On Sat, 11 Nov 2000, Magnus Naeslund(b) wrote: Is there a nice way to trap on file open() and stat() ? That way i could have nice file statistics. There was a thread about this a couple days ago. http://x52.deja.com/threadmsg_ct.xp?AN=690272012.1mhitnum=0CONTEXT=973965178.1986985995

Re: Kernel hook for open

2000-11-06 Thread Michael Vines
On Mon, 6 Nov 2000, Erik Mouw wrote: > On Mon, Nov 06, 2000 at 10:11:11AM -0500, Michael Vines wrote: > > On Mon, 6 Nov 2000, Erik Mouw wrote: > > > Use LD_PRELOAD instead. > > > > You could also write a simple kernel module that replaces the open system > >

Re: Kernel hook for open

2000-11-06 Thread Michael Vines
On Mon, 6 Nov 2000, Erik Mouw wrote: > On Mon, Nov 06, 2000 at 03:55:41PM +0200, Catalin BOIE wrote: > > I wish to know if there is something like a kernel hook for open function. > > I want to monitor a file (someting like watchdog on Solaris) and to read > > from my own process (module?) and

Re: unresolved symbols in ipx module

2000-10-13 Thread Michael Vines
On Fri, 13 Oct 2000, John Williams wrote: > This means to add ipx to the kernel, I have to rebuild the entire kernel > and boot with it in order to satisfy the dependancies. I cannot just > compile it as a module and add it because it has non-modular dependancies. I encountered this same

Question: Using floating point in the kernel

2000-09-19 Thread Michael Vines
I was just wondering if you can use floating point while servicing a syscall in the kernel? Doing a find -name \*.c -exec grep float {} \; -print turned up a couple drivers that seem to be using fp. Are there any known issues that I should to be aware off? Thanks, Mike - To

Re: Adding members to task_struct without recompling the kernel

2000-09-15 Thread Michael Vines
On Fri, 15 Sep 2000, Stephen C. Tweedie wrote: > On Tue, Sep 12, 2000 at 06:17:48PM -0400, Michael Vines wrote: > > > > I'm writing a kernel module that needs to keep track of a pointer to some > > custom module information for every task in the system. Basically I wa

Re: Adding members to task_struct without recompling the kernel

2000-09-15 Thread Michael Vines
On Fri, 15 Sep 2000, Stephen C. Tweedie wrote: On Tue, Sep 12, 2000 at 06:17:48PM -0400, Michael Vines wrote: I'm writing a kernel module that needs to keep track of a pointer to some custom module information for every task in the system. Basically I want to add another member