This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: kprobes + nptl01 (test in ltp testsuite) problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]