Lines Matching refs:code_map
346 def __init__(self, log_name, code_map): argument
350 self.code_map = code_map
389 conficting_code = self.code_map.Find(start_address)
393 self.code_map.Remove(conficting_code)
401 self.code_map.Add(code)
412 code = self.code_map.Find(old_start_address)
418 self.code_map.Remove(code)
422 self.code_map.Add(code)
702 def Load(self, mmap_info, code_map, options): argument
710 return self._LoadKernelSymbols(code_map)
764 code_map.Add(Code(name, start_address, start_address + size,
787 def _LoadKernelSymbols(self, code_map): argument
801 code_map.Add(code, 16)
806 def PrintReport(code_map, library_repo, arch, ticks, options): argument
808 used_code = [code for code in code_map.UsedCode()]
826 def PrintDot(code_map, options): argument
828 for code in code_map.UsedCode():
903 code_map = CodeMap() variable
905 code_map=code_map)
926 library_repo.Load(mmap_info, code_map, options)
934 library_repo.Load(mmap_info, code_map, options)
940 code = code_map.Find(sample.ip)
955 caller_code = code_map.Find(ip)
963 PrintDot(code_map, options)
965 PrintReport(code_map, library_repo, log_reader.arch, ticks, options)
983 print "%10d total symbols" % len([c for c in code_map.AllCode()])
984 print "%10d used symbols" % len([c for c in code_map.UsedCode()])