size_report: give root node a unique identifier
Call the root node 'root', otherwise we end up with two nodes with the same identifier ':'. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
45bd3dee08
commit
39354d92bb
|
@ -557,7 +557,7 @@ def generate_any_tree(symbol_dict, total_size, path_prefix):
|
|||
"""
|
||||
Generate a symbol tree for output.
|
||||
"""
|
||||
root = TreeNode('Symbols', ":")
|
||||
root = TreeNode('Symbols', "root")
|
||||
node_no_paths = TreeNode('(no paths)', ":", parent=root)
|
||||
|
||||
if Path(path_prefix) == Path(args.zephyrbase):
|
||||
|
|
Loading…
Reference in a new issue