[RFC v2] Decode UFFDIO_* ioctls
Dmitry V. Levin
ldv at altlinux.org
Fri Apr 29 02:13:00 UTC 2016
On Sat, Apr 23, 2016 at 05:39:42AM +0300, Dmitry V. Levin wrote:
> On Fri, Apr 22, 2016 at 07:02:08PM +0100, Dr. David Alan Gilbert (git) wrote:
[...]
> > don't use my decode_flags64 - I guess I should be using printflags
> > but printflags uses struct xlat and they're both unsigned int
> > where I'm dealing in uint64_t's; perhaps if I just rework
> > printflags/xlat it'll all work ???
>
> With regards to printing 64-bit flags, see the thread starting at
> https://sourceforge.net/p/strace/mailman/message/34979546/
The change of struct xlat is in, you can now generate xlat files filled
with 64-bit values by using "#val_type uint64_t" directive, and print
64-bit values using e.g. printxval64() and printflags64().
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160429/fc0d7349/attachment.bin>
More information about the Strace-devel
mailing list