*
* - version 3:
* - enums signatures are recorded for the a whole set of values (not as individual values)
+ *
+ * - version 4:
+ * - call enter events include thread ID
*/
-#define TRACE_VERSION 3
+#define TRACE_VERSION 4
/*
*
* trace = event* EOF
*
- * event = EVENT_ENTER call_sig call_detail+
+ * event = EVENT_ENTER thread_id call_sig call_detail+
* | EVENT_LEAVE call_no call_detail+
*
* call_sig = sig_id ( name arg_names )?
* | DOUBLE double
* | STRING string
* | BLOB string
- * | ENUM enum_sig
+ * | ENUM enum_sig value
* | BITMASK bitmask_sig value
* | ARRAY length value+
* | STRUCT struct_sig value+
* | OPAQUE int
+ * | REPR value value
*
* call_sig = id name arg_name*
* | id
TYPE_ARRAY,
TYPE_STRUCT,
TYPE_OPAQUE,
+ TYPE_REPR,
};