Lines Matching +full:row +full:- +full:offset

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]+)\)")
189 sec_end = sec_start + (sec_size - 1 if sec_size else 0)
191 f"0x{sec_start:08x}-0x{sec_end:08x} "
213 sec_end = sec_start + (size - 1 if size else 0)
268 file_entry = lineprog['file_entry'][file_index - 1]
274 directory = lineprog.header['include_directory'][dir_index - 1]
288 # built-ins can't be resolved, so it's not an issue
289 if '<built-in>' not in str(path):
457 offset_map[die.offset] = die
485 offset = die_ptr.attributes[ofname].value
486 offset += die_ptr.cu.cu_offset
489 if offset not in offset_map:
492 die_ptr = offset_map[offset]
629 # A set of helper function for building a simple tree with a path-like
645 # Passing down through a non-terminal parent node.
659 # Don't do it on file- and directory- level parent nodes.
731 node_hidden_syms._size = root._size - sum_node_children_size(root)
750 for row in RenderTree(root, childiter=node_sort, maxlevel=depth):
751 f = len(row.pre) + len(row.node._name)
752 s = str(row.node._size).rjust(100-f)
753 percent = 100 * float(row.node._size) / float(total_size)
755 hex_addr = "-"
758 if not row.node.children:
759 if hasattr(row.node, 'section'):
760 section_name = row.node.section
761 if hasattr(row.node, 'address'):
762 hex_addr = "0x{:08x}".format(row.node.address)
765 elif row.node._name.endswith(SRC_FILE_EXT):
769 …print(f"{row.pre}{cc}{row.node._name} {s} {cr}{Fore.BLUE}{percent:6.2f}%{Fore.RESET} {hex_addr} {…
782 parser.add_argument("-k", "--kernel", required=True,
784 parser.add_argument("-z", "--zephyrbase", required=True,
786 parser.add_argument("-q", "--quiet", action="store_true",
788 parser.add_argument("-o", "--output", required=True,
790 parser.add_argument("-w", "--workspace", default=None,
793 parser.add_argument("-d", "--depth", dest="depth",
797 parser.add_argument("-v", "--verbose", action="store_true",
799 parser.add_argument("--json", help="store results in a JSON file.")
809 sys.stdout.reconfigure(encoding='utf-8')