Lines Matching +full:fetch +full:- +full:depth
3 # Copyright (c) 2016, 2020-2024 Intel Corporation
5 # SPDX-License-Identifier: Apache-2.0
49 DT_LOCATION = re.compile(r"\(DW_OP_addr: ([0-9a-f]+)\)")
129 Fetch the symbols from the symbol table and put them
189 sec_end = sec_start + (sec_size - 1 if sec_size else 0)
191 f"0x{sec_start:08x}-0x{sec_end:08x} "
218 sec_end = sec_start + (size - 1 if size else 0)
275 file_entry = lineprog['file_entry'][file_index - 1]
281 directory = lineprog.header['include_directory'][dir_index - 1]
295 # built-ins can't be resolved, so it's not an issue
296 if '<built-in>' not in str(path):
636 # A set of helper function for building a simple tree with a path-like
652 # Passing down through a non-terminal parent node.
666 # Don't do it on file- and directory- level parent nodes.
738 node_hidden_syms._size = root._size - sum_node_children_size(root)
750 def print_any_tree(root, total_size, depth): argument
757 for row in RenderTree(root, childiter=node_sort, maxlevel=depth):
759 s = str(row.node._size).rjust(100-f)
762 hex_addr = "-"
789 parser.add_argument("-k", "--kernel", required=True,
791 parser.add_argument("-z", "--zephyrbase", required=True,
793 parser.add_argument("-q", "--quiet", action="store_true",
795 parser.add_argument("-o", "--output", required=True,
797 parser.add_argument("-w", "--workspace", default=None,
800 parser.add_argument("-d", "--depth", dest="depth",
803 metavar="DEPTH")
804 parser.add_argument("-v", "--verbose", action="store_true",
806 parser.add_argument("--json", help="store results in a JSON file.")
816 sys.stdout.reconfigure(encoding='utf-8')
872 print_any_tree(root, symsize, args.depth)