[PATCH] Fix io_submit decoding in strace v2
Dmitry V. Levin
ldv at altlinux.org
Mon Jun 20 21:34:40 UTC 2011
On Fri, Jun 10, 2011 at 01:10:40PM -0700, Andi Kleen wrote:
> I noticed this patch from April hasn't been applied yet to
> master. Resubmitting
>
> ---
>
> strace didn't decode important fields in the iocb passed to io_submit.
> This patch changes the code to dump them all. Also I prefixed the fields
> with names to make it easier to read.
>
> v2: Address review feedback. Use tprint_iov()/printstr() for write.
> Add #warning for fallback.
I added ARRAY_SIZE to defs.h, extended tprint_iov() so it could be used in
the read case as well, and applied this patch with appropriate modifications.
Thanks,
--
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/20110621/0cfd4833/attachment.bin>
More information about the Strace-devel
mailing list