preliminary strace patch
Quoted 9 lines · Helge Deller
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
Quoted 3 lines
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.
Quoted 8 lines · Carlos O'Donell
Quoted 3 lines
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.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.
FYI - I've just submitted a more correct version of my patch upstream:
- upstream version of strace (syscall table patch):
http://sourceforge.net/tracker/index.php?func=detail&aid=1774308&group_id=2861&atid=302861
- upstream version of strace (shmat() syscall patch):
http://sourceforge.net/tracker/index.php?func=detail&aid=1774313&group_id=2861&atid=302861
- debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437928
Helge
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
Quoted 10 lines · Helge Deller
FYI - I've just submitted a more correct version of my patch upstream:
- upstream version of strace (syscall table patch):
http://sourceforge.net/tracker/index.php?func=detail&aid=1774308&group_id=2861&atid=302861- upstream version of strace (
shmat()syscall patch):
http://sourceforge.net/tracker/index.php?func=detail&aid=1774313&group_id=2861&atid=302861- debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=437928
Awesome, that rocks. If there is anything I can do to help just tell me.
Cheers,
Carlos.