Lines Matching refs:smap
232 uint64 AddOrGetMapping(const Pid& pid, const PerfDataHandler::Mapping* smap,
394 const PerfDataHandler::Mapping* smap, in AddOrGetMapping() argument
401 if (smap == nullptr) { in AddOrGetMapping()
406 auto it = mapmap.find(smap); in AddOrGetMapping()
415 mapping->set_memory_start(smap->start); in AddOrGetMapping()
416 mapping->set_memory_limit(smap->limit); in AddOrGetMapping()
417 mapping->set_file_offset(smap->file_offset); in AddOrGetMapping()
418 if (smap->build_id != nullptr && !smap->build_id->empty()) { in AddOrGetMapping()
419 mapping->set_build_id(UTF8StringId(*smap->build_id, builder)); in AddOrGetMapping()
421 mapping->set_filename(UTF8StringId(MappingFilename(smap), builder)); in AddOrGetMapping()
429 mapmap.insert(std::make_pair(smap, mapping_id)); in AddOrGetMapping()