Re: preliminary strace patch
"Carlos O'Donell" <[email protected]> Tue, 14 Aug 2007 09:46:09 -0400
| Newsgroups | gmane.linux.ports.hppa |
|---|---|
| Message-ID | <[email protected]> |
On 8/12/07, Helge Deller <[email protected]> wrote: > I noticed, that strace was pretty much useless/broken, if you use shared memory/ipc calls or the stat64() syscall. > > Example: > root@c3000:~# strace df -h / > [....] > write(1, "Filesystem Size Used"..., 55Filesystem Size Used Avail Use% Mounted on > ) = 55 > upeek: ptrace(PTRACE_PEEKUSER,29538,4294967292,0): Input/output error > > Below is a patch against strace-4.5.15 source package from sourceforge. > Maybe it's useful to some people here, although it's not cleaned up/correct at all yet. > Feedback/corrections (esp. for the new syscalls >= 295) are welcome, because I only focused on statfs64()/fstatfs64() at this moment. Helge, That's awesome! Please send it upstream, even it they ignore you, atleast the patch will appear in the archives. I'm sure debian would take a half-clean patch against strace as long as it only effected hppa. Cheers, Carlos.