[PATCH] Print io_submit() offsets in decimal.

Dmitry V. Levin ldv at altlinux.org
Sat Mar 30 23:17:00 UTC 2013


Hi,

On Fri, Mar 29, 2013 at 03:37:00PM -0500, Zev Weiss wrote:
> Hello,
> 
> Current strace prints the offset members of iocb structs passed to io_submit() in hex, which I can't see any particular reason for (it mismatches the normal pread/pwrite format, for one thing), and the additional lack of a leading "0x" prefix makes it unnecessarily difficult to parse.  Could the below patch be applied to instead print them in decimal?

Yes, let's change it to match the pread/pwrite output format.
Would you like to write a commit message?


-- 
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/20130331/60fcb6b1/attachment.bin>


More information about the Strace-devel mailing list