Re: [PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-02-04 Thread Abhishek Sagar
On 2/5/08, Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> wrote: > + * Build and insert the kernel module as done in the kprobe example. > + * You will see the trace data in /var/log/messages and on the console > + * whenever sys_open() returns a negative value. A passing

[PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-02-04 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> Move kprobes examples from Documentation/kprobes.txt to under samples/. Patch originally by Randy Dunlap. o Updated the patch to apply on 2.6.24-mm1 o Modified examples code to build on multiple architectures. Currently, the examples code

[PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-02-04 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Move kprobes examples from Documentation/kprobes.txt to under samples/. Patch originally by Randy Dunlap. o Updated the patch to apply on 2.6.24-mm1 o Modified examples code to build on multiple architectures. Currently, the examples code

Re: [PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-02-04 Thread Abhishek Sagar
On 2/5/08, Ananth N Mavinakayanahalli [EMAIL PROTECTED] wrote: + * Build and insert the kernel module as done in the kprobe example. + * You will see the trace data in /var/log/messages and on the console + * whenever sys_open() returns a negative value. A passing observationsys_open

Re: [PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-01-03 Thread Ananth N Mavinakayanahalli
On Thu, Jan 03, 2008 at 10:18:06AM -0500, Mathieu Desnoyers wrote: > * Ingo Molnar ([EMAIL PROTECTED]) wrote: > > > > * Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> wrote: > > > > > > feature request: please make this work in the !modular case as well > > > > - if built-in then it should just

Re: [PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-01-03 Thread Mathieu Desnoyers
* Ingo Molnar ([EMAIL PROTECTED]) wrote: > > * Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> wrote: > > > > feature request: please make this work in the !modular case as well > > > - if built-in then it should just run sometime during bootup and run > > > the tests and report

Re: [PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-01-03 Thread Ingo Molnar
* Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> wrote: > > feature request: please make this work in the !modular case as well > > - if built-in then it should just run sometime during bootup and run > > the tests and report success/failure. This way automated testing can > > pick up any

Re: [PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-01-03 Thread Ananth N Mavinakayanahalli
On Thu, Jan 03, 2008 at 10:33:03AM +0100, Ingo Molnar wrote: > > * Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> wrote: > > > From: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> > > > > Move kprobes examples from Documentation/kprobes.txt to under > > samples/. Patch originally by Randy

Re: [PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-01-03 Thread Ingo Molnar
* Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> wrote: > From: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> > > Move kprobes examples from Documentation/kprobes.txt to under > samples/. Patch originally by Randy Dunlap. nice! > +config SAMPLE_KPROBES > + tristate "Build kprobes

Re: [PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-01-03 Thread Ingo Molnar
* Ananth N Mavinakayanahalli [EMAIL PROTECTED] wrote: From: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Move kprobes examples from Documentation/kprobes.txt to under samples/. Patch originally by Randy Dunlap. nice! +config SAMPLE_KPROBES + tristate Build kprobes examples --

Re: [PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-01-03 Thread Ananth N Mavinakayanahalli
On Thu, Jan 03, 2008 at 10:33:03AM +0100, Ingo Molnar wrote: * Ananth N Mavinakayanahalli [EMAIL PROTECTED] wrote: From: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Move kprobes examples from Documentation/kprobes.txt to under samples/. Patch originally by Randy Dunlap. nice!

Re: [PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-01-03 Thread Ingo Molnar
* Ananth N Mavinakayanahalli [EMAIL PROTECTED] wrote: feature request: please make this work in the !modular case as well - if built-in then it should just run sometime during bootup and run the tests and report success/failure. This way automated testing can pick up any regressions

Re: [PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-01-03 Thread Mathieu Desnoyers
* Ingo Molnar ([EMAIL PROTECTED]) wrote: * Ananth N Mavinakayanahalli [EMAIL PROTECTED] wrote: feature request: please make this work in the !modular case as well - if built-in then it should just run sometime during bootup and run the tests and report success/failure. This way

Re: [PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-01-03 Thread Ananth N Mavinakayanahalli
On Thu, Jan 03, 2008 at 10:18:06AM -0500, Mathieu Desnoyers wrote: * Ingo Molnar ([EMAIL PROTECTED]) wrote: * Ananth N Mavinakayanahalli [EMAIL PROTECTED] wrote: feature request: please make this work in the !modular case as well - if built-in then it should just run sometime

[PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-01-02 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli <[EMAIL PROTECTED]> Move kprobes examples from Documentation/kprobes.txt to under samples/. Patch originally by Randy Dunlap. o Updated the patch to apply on 2.6.24-rc6-mm1 o Modified examples code to build on multiple architectures. Currently, the examples

[PATCH 2/2] Kprobes: Move kprobes examples to samples/

2008-01-02 Thread Ananth N Mavinakayanahalli
From: Ananth N Mavinakayanahalli [EMAIL PROTECTED] Move kprobes examples from Documentation/kprobes.txt to under samples/. Patch originally by Randy Dunlap. o Updated the patch to apply on 2.6.24-rc6-mm1 o Modified examples code to build on multiple architectures. Currently, the examples code