[PATCH] generate xlat structs

Dmitry V. Levin ldv at altlinux.org
Thu Apr 17 22:46:25 UTC 2014


On Mon, Feb 17, 2014 at 07:08:52PM +0400, Dmitry V. Levin wrote:
> On Mon, Feb 17, 2014 at 03:18:44AM -0500, Mike Frysinger wrote:
> > On Monday, February 17, 2014 02:51:17 Dmitry V. Levin wrote:
> [...]
> > > > +	echo "const struct xlat ${name}[] = {"
> > > 
> > > static?
> > 
> > i started with that, but not all xlat's are static like addrfams :(.  but i 
> > didn't want to try extending the file format too much to support this as then 
> > we'd have this giant ad-hoc mess.  any suggestions on any semi-existing 
> > standards/structured file formats to use ?
> 
> No, your simple lists are better than any structured file formats.

BTW, there are about 167 static xlat structs and only 5 global xlat structs.
All 5 are declared in defs.h, we surely can handle them somehow.

I'd like to have your nice idea implemented and all xlat structs
converted before the release.
Is there any chance this will happen? ;)


-- 
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/20140418/bac0b4ca/attachment.bin>


More information about the Strace-devel mailing list