This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: kprobes + nptl01 (test in ltp testsuite) problem
- From: Ananth N Mavinakayanahalli <ananth at in dot ibm dot com>
- To: "manjunath k" <kmanjunat at gmail dot com>
- Cc: systemtap at sourceware dot org
- Date: Tue, 24 Jul 2007 17:40:53 +0530
- Subject: Re: kprobes + nptl01 (test in ltp testsuite) problem
- References: <2c09dd780707240455ta8ca684r77b2032314541ecc@mail.gmail.com>
- Reply-to: ananth at in dot ibm dot com
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