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

Attachment: pgpLoCWO5w2oX.pgp
Description: PGP signature

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Strace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to