In frysk - as built from CVS head on 20060630 - ftrace goes into an infinite loop if you do the following: [eteo@kerndev ~]$ ftrace strace ftrace ftrace.main() Proc.getPid() 14376 ftrace.main() Proc.getPid() /usr/bin/strace 14376.14376 <SYSCALL> brk (NULL) = 142213120 14376.14376 <SYSCALL> access ("/etc/ld.so.preload",4) = -1 ERRNO=2 14376.14376 <SYSCALL> open ("/etc/ld.so.cache",0,0) = 3 14376.14376 <SYSCALL> fstat64 (3,0xbf91b7cc) = 0 14376.14376 <SYSCALL> mmap (NULL,78638,1,2,3,-38) = 0xb7fcc000 14376.14376 <SYSCALL> close (3) = 0 14376.14376 <SYSCALL> open ("/lib/libc.so.6",0,78638) = 3 14376.14376 <SYSCALL> read (3,0xbf91b928,512) = 512 ...
Cannot reproduce with current frysk HEAD.