[PATCH] Improve io_submit decoding

Andi Kleen ak at linux.intel.com
Mon Apr 25 15:59:26 UTC 2011


> It's still unobvious for me why pwritew can be decoded using tprint_iov
> but preadv still has to be decoded manually.  Could you explain it, please?

Because the data is not available yet for reading -- after all it's an
asynchronous read. So tprint_iov would print random old buffer contents,
which doesn't seem useful to me.

-Andi




More information about the Strace-devel mailing list