fix splice syscall displaying
Dmitry V. Levin
ldv at altlinux.org
Tue Oct 11 20:32:42 UTC 2011
On Mon, Oct 10, 2011 at 11:01:42AM +0600, Марк Коренберг wrote:
> splice(0x4, 0, 0x9, 0, 0x10000, 0x3) = 2
> splice(0x7, 0, 0x6, 0, 0x2, 0x3) = 2
>
> Why the "splice" show file descriptors in hex mode, while other
> syscalls display in decimal mode?
When strace has no specialised decoder for a syscall (as in case of
splice), a generic decoder is used, and the latter just prints syscall
arguments in hex.
I've just implemented specialised decoders for splice, tee and vmsplice
syscalls (commit v4.6-148-gd99e48c). You can try to build strace from git
HEAD and report back whether you like it better than you old packaged
version.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20111012/352e1434/attachment.bin>
More information about the Strace-devel
mailing list