From: Philippe Proulx Date: Sat, 8 Nov 2014 04:32:33 +0000 (-0500) Subject: Fix: get struct size in map X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=8e8d566fc6d7e7d4d0be0db9a2b28cc5cf60661c;p=deliverable%2Fbarectf.git Fix: get struct size in map --- diff --git a/barectf/cli.py b/barectf/cli.py index 63a9aaf..20794a2 100644 --- a/barectf/cli.py +++ b/barectf/cli.py @@ -404,6 +404,7 @@ def _get_integer_size(integer): _obj_size_cb = { + pytsdl.tsdl.Struct: _get_struct_size, pytsdl.tsdl.Integer: _get_integer_size, pytsdl.tsdl.Enum: _get_enum_size, pytsdl.tsdl.FloatingPoint: _get_floating_point_size,