Re: kprobe_handler should check pre_handler function

2005-03-29 Thread Ananth N Mavinakayanahalli
On Tue, Mar 29, 2005 at 02:18:02PM -0500, William Cohen wrote: > Ananth N Mavinakayanahalli wrote: > >On Mon, Mar 28, 2005 at 04:10:32PM -0500, William Cohen wrote: > > > >Hi Will, > > > > > >>I found kprobes expects there to be a pre_handler function in the > >>structure. I was writing a probe th

Re: kprobe_handler should check pre_handler function

2005-03-29 Thread William Cohen
Ananth N Mavinakayanahalli wrote: On Mon, Mar 28, 2005 at 04:10:32PM -0500, William Cohen wrote: Hi Will, I found kprobes expects there to be a pre_handler function in the structure. I was writing a probe that only needed a post_handler function, no pre_handler function. The probe was tracking t

Re: kprobe_handler should check pre_handler function

2005-03-28 Thread David S. Miller
On Mon, 28 Mar 2005 21:34:08 -0500 Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> wrote: > You are right. The check for pre_handler is needed and here is a patch > against 2.6.12-rc1-mm3 that does this. The sparc64 part looks just fine. - To unsubscribe from this list: send the line "unsubscribe

Re: kprobe_handler should check pre_handler function

2005-03-28 Thread Ananth N Mavinakayanahalli
On Mon, Mar 28, 2005 at 04:10:32PM -0500, William Cohen wrote: Hi Will, > I found kprobes expects there to be a pre_handler function in the > structure. I was writing a probe that only needed a post_handler > function, no pre_handler function. The probe was tracking the > destinations of indir