[RFC v2] Decode UFFDIO_* ioctls

Dr. David Alan Gilbert dgilbert at redhat.com
Fri Apr 29 08:34:31 UTC 2016


* Dmitry V. Levin (ldv at altlinux.org) wrote:
> 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().

Great, I'll go and update my patch set with that and your other comments.

Dave

> 
> 
> -- 
> ldv



> ------------------------------------------------------------------------------
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z

> _______________________________________________
> Strace-devel mailing list
> Strace-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/strace-devel

--
Dr. David Alan Gilbert / dgilbert at redhat.com / Manchester, UK




More information about the Strace-devel mailing list