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


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


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