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: Srinivasa Ds <srinivasa 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 16:41:34 +0530
- Subject: Re: kprobes + nptl01(test in ltp testsuite) problem
- References: <2c09dd780707240343u19e7d053i6fb03296d1a71364@mail.gmail.com>
manjunath k wrote:
> Hi,
>
> Ive been using kprobes on X86 machine. when a probe is
> put on the sys_gettimeofday with the fault handler and the LTP
> testcase nptl01is executed the system is getting into an infintie
> loop.
I tried to recreate this problem on local system with latest 2.6.23-rc1
kernel, but I failed. May I know which kernel are you using??
=======================================
[root@llm27lp1 bin]# ./nptl01
nptl01 0 INFO : Starting test, please wait.
nptl01 0 INFO : Success thru loop 1 of 100000
nptl01 0 INFO : Success thru loop 2 of 100000
nptl01 0 INFO : Success thru loop 3 of 100000
nptl01 0 INFO : Success thru loop 4 of 100000
nptl01 0 INFO : Success thru loop 5 of 100000
nptl01 0 INFO : Success thru loop 6 of 100000
nptl01 0 INFO : Success thru loop 7 of 100000
nptl01 0 INFO : Success thru loop 8 of 100000
nptl01 0 INFO : Success thru loop 9 of 100000
nptl01 1 PASS : Test completed successfully!
=====================================================
[root@llm27lp1 ~]# cat /sys/kernel/debug/kprobes/list
c00000000002a7dc k .kretprobe_trampoline_holder+0x0
c000000000015740 k .compat_sys_gettimeofday+0x0
c000000000073404 k .sys_gettimeofday+0x0
=====================================================
>
> Please give me some information regarding this problem.
>
>
> -Manjunath