From: Mathieu Desnoyers Date: Fri, 13 May 2011 23:35:11 +0000 (-0400) Subject: Add base integer attribute for pretty-print X-Git-Tag: v1.8~43 X-Git-Url: http://git.efficios.com/?p=ctf.git;a=commitdiff_plain;h=56b77c06fb9f6f0ee8e70ed5c4513d62d80ea006;hp=ec4404a7302479761f14e36a567b57692d93b44d Add base integer attribute for pretty-print Signed-off-by: Mathieu Desnoyers --- diff --git a/common-trace-format-proposal.txt b/common-trace-format-proposal.txt index dd1996a..c305c9e 100644 --- a/common-trace-format-proposal.txt +++ b/common-trace-format-proposal.txt @@ -190,6 +190,9 @@ TSDL meta-data representation: byte_order = native OR network OR be OR le; /* default native */ size = value; /* value in bits, no default */ align = value; /* value in bits */ + /* based used for pretty-printing output, default: decimal. */ + base = decimal OR dec OR OR d OR i OR u OR 10 OR hexadecimal OR hex OR x OR X OR p OR 16 + OR octal OR oct OR o OR 8 OR binary OR b OR 2; } Example of type inheritance (creation of a uint32_t named type):