On Tue, Jul 24, 2007 at 05:25:57PM +0530, manjunath k wrote:
> Hi,
>
> Ive been using the kprobes on X86 m/c and found the following problem with
> the following kprobe and the testsuite.
>
> 1. A probe is placed for the sys_gettimeofday with the pre/post/fault
> handlers
> defined (k-test.c is attached).
>
> 2. The nptl01 test from the ltp testuite is executed and the system gets
> into an
> infinite loop (nptl01.c is attached).
>
> Ive attached the log file that contains the output that was seen when
> the above test is performed (kprobe-nptl.log), the log file is
> stripped for the purpose of attaching.
>
> Please provide me some information regarding the above failure.
You can't call functions that can either fault or sleep/block in your
kprobe handlers. get_user() can sleep.
Ananth