Skip to content

Commit 39354d9

Browse files
nashifgalak
authored andcommitted
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 <[email protected]>
1 parent 45bd3de commit 39354d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/footprint/size_report

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ def generate_any_tree(symbol_dict, total_size, path_prefix):
557557
"""
558558
Generate a symbol tree for output.
559559
"""
560-
root = TreeNode('Symbols', ":")
560+
root = TreeNode('Symbols', "root")
561561
node_no_paths = TreeNode('(no paths)', ":", parent=root)
562562

563563
if Path(path_prefix) == Path(args.zephyrbase):

0 commit comments

Comments
 (0)