On Tue 11 Mar 2014 12:31:39 Philippe Ombredanne wrote:
> On Tue, Mar 11, 2014 at 6:36 AM, Mike Frysinger <vap...@gentoo.org> wrote:
> > On Mon 03 Mar 2014 10:26:22 Philippe Ombredanne wrote:
> >> or possibly (not sure which form I like best) using a more compact
> >> entirely and positional list of lists:
> >> [
> >>     "open",
> >>     "-1",
> >>    [
> >>         "/usr/lib/locale/UTF-8/LC_CTYPE",
> >>         "O_RDONLY|O_CLOEXEC"
> >>     ]
> >> ]
> > 
> > that's a good way to not be future-proof.  considering you're already
> > serializing to json, adding a few extra fields to keep things sane isn't
> > really going to hurt.
> 
> Good point. So let's go with explicit field names, except for things
> like "call_one" "call_two" that really do not make sense.
> i.e. the top level structure should likely be a list of calls.

true, trying to fabricate indexes with things like "call_one" and "call_two" 
doesn't make much sense.  i read it as "one call has been made" rather than 
"this is the first call" which is why i didn't object right away ;).

the format will need some way of marking suspended/resumed calls and making 
sure the other side is able to sanely re-assemble them.  and do so across 
processes/threads/signals/etc... :).
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to