From 56b77c06fb9f6f0ee8e70ed5c4513d62d80ea006 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 13 May 2011 19:35:11 -0400 Subject: [PATCH] Add base integer attribute for pretty-print Signed-off-by: Mathieu Desnoyers --- common-trace-format-proposal.txt | 3 +++ 1 file changed, 3 insertions(+) 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): -- 2.34.1