• Home
  • Raw
  • Download

Lines Matching refs:mapping

70         print('%d mappings' % len(p.mapping))
71 for i in range(len(p.mapping)):
73 self.show_mapping(p.mapping[i], sub_space)
127 mapping = self.profile.mapping[mapping_id - 1]
128 self.show_mapping(mapping, space)
130 def show_mapping(self, mapping, space=''): argument
131 print('%sid: %d' % (space, mapping.id))
132 print('%smemory_start: %x' % (space, mapping.memory_start))
133 print('%smemory_limit: %x' % (space, mapping.memory_limit))
134 print('%sfile_offset: %x' % (space, mapping.file_offset))
135 print('%sfilename: %s(%d)' % (space, self.string(mapping.filename),
136 mapping.filename))
137 print('%sbuild_id: %s(%d)' % (space, self.string(mapping.build_id),
138 mapping.build_id))
139 print('%shas_functions: %s' % (space, mapping.has_functions))
140 print('%shas_filenames: %s' % (space, mapping.has_filenames))
141 print('%shas_line_numbers: %s' % (space, mapping.has_line_numbers))
142 print('%shas_inline_frames: %s' % (space, mapping.has_inline_frames))
332 for mapping in self.mapping_list:
333 self.gen_profile_mapping(mapping)
389 mapping_id = self.get_mapping_id(symbol.mapping[0], binary_path, build_id)
411 mapping = Mapping(report_mapping.start, report_mapping.end,
413 exist_mapping = self.mapping_map.get(mapping.key)
417 mapping.id = len(self.mapping_list) + 1
418 self.mapping_list.append(mapping)
419 self.mapping_map[mapping.key] = mapping
420 return mapping.id
494 mapping = self.get_mapping(location.mapping_id)
495 dso_name = self.get_string(mapping.filename_id)
510 mapping = self.get_mapping(location.mapping_id)
511 dso_name = self.get_string(mapping.filename_id)
557 def gen_profile_mapping(self, mapping): argument
558 profile_mapping = self.profile.mapping.add()
559 profile_mapping.id = mapping.id
560 profile_mapping.memory_start = mapping.memory_start
561 profile_mapping.memory_limit = mapping.memory_limit
562 profile_mapping.file_offset = mapping.file_offset
563 profile_mapping.filename = mapping.filename_id
564 profile_mapping.build_id = mapping.build_id_id