Lines Matching refs:start_addr
83 def read_disam(dso_fname, dso_start, start_addr, stop_addr):
84 addr_range = str(start_addr) + ":" + str(stop_addr) + ":" + dso_fname
93 start_addr = start_addr - dso_start;
96 "--start-address="+format(start_addr,"#x"),
104 def print_disam(dso_fname, dso_start, start_addr, stop_addr):
105 for line in read_disam(dso_fname, dso_start, start_addr, stop_addr):
237 # and read back for 'start_addr' when the new packet comes, and we need
241 start_addr = cpu_data[str(cpu) + 'addr']
247 # Handle CS_ETM_TRACE_ON packet if start_addr=0 and stop_addr=4
248 if (start_addr == 0 and stop_addr == 4):
252 if (start_addr < int(dso_start) or start_addr > int(dso_end)):
253 print("Start address 0x%x is out of range [ 0x%x .. 0x%x ] for dso %s" % (start_addr, int(dso_start), int(dso_end), dso))
271 print_disam(dso_fname, dso_vm_start, start_addr, stop_addr)
273 print("Failed to find dso %s for address range [ 0x%x .. 0x%x ]" % (dso, start_addr, stop_addr))