Lines Matching refs:code_map
349 def __init__(self, log_name, code_map): argument
353 self.code_map = code_map
392 conficting_code = self.code_map.Find(start_address)
396 self.code_map.Remove(conficting_code)
404 self.code_map.Add(code)
415 code = self.code_map.Find(old_start_address)
421 self.code_map.Remove(code)
425 self.code_map.Add(code)
705 def Load(self, mmap_info, code_map, options): argument
713 return self._LoadKernelSymbols(code_map)
767 code_map.Add(Code(name, start_address, start_address + size,
790 def _LoadKernelSymbols(self, code_map): argument
804 code_map.Add(code, 16)
809 def PrintReport(code_map, library_repo, arch, ticks, options): argument
811 used_code = [code for code in code_map.UsedCode()]
829 def PrintDot(code_map, options): argument
831 for code in code_map.UsedCode():
906 code_map = CodeMap() variable
908 code_map=code_map)
929 library_repo.Load(mmap_info, code_map, options)
937 library_repo.Load(mmap_info, code_map, options)
943 code = code_map.Find(sample.ip)
958 caller_code = code_map.Find(ip)
966 PrintDot(code_map, options)
968 PrintReport(code_map, library_repo, log_reader.arch, ticks, options)
986 print("%10d total symbols" % len([c for c in code_map.AllCode()]))
987 print("%10d used symbols" % len([c for c in code_map.UsedCode()]))