Home
last modified time | relevance | path

Searched refs:min_vaddr (Results 1 – 18 of 18) sorted by relevance

/system/extras/perfprofd/
Dperf_data_converter.cc62 uint64_t min_vaddr; in AddSymbolInfo() member
64 explicit Dso(uint64_t min_vaddr_in) : min_vaddr(min_vaddr_in) { in AddSymbolInfo()
98 uint64_t min_vaddr; in AddSymbolInfo() local
99 bool has_min_vaddr = symbolizer->GetMinExecutableVAddr(dso_name, &min_vaddr); in AddSymbolInfo()
101 min_vaddr = kNoMinAddr; in AddSymbolInfo()
103 auto it = files.emplace(dso_name, Dso(min_vaddr)); in AddSymbolInfo()
108 if (dso_data->min_vaddr == kNoMinAddr) { in AddSymbolInfo()
149 symbol_info->set_min_vaddr(dso.min_vaddr); in AddSymbolInfo()
Dperfprofd_record.proto24 optional uint64 min_vaddr = 3; field
/system/extras/simpleperf/
Ddso_test.cpp101 uint64_t min_vaddr; in TEST() local
103 dso->GetMinExecutableVaddr(&min_vaddr, &file_offset_of_min_vaddr); in TEST()
104 ASSERT_EQ(min_vaddr, 0); in TEST()
132 uint64_t min_vaddr; in TEST() local
134 dso->GetMinExecutableVaddr(&min_vaddr, &file_offset_of_min_vaddr); in TEST()
135 ASSERT_EQ(min_vaddr, 0); in TEST()
Dread_elf_test.cpp164 uint64_t min_vaddr; in TEST() local
167 elf_path, BuildId(), &min_vaddr, &file_offset_of_min_vaddr)); in TEST()
168 ASSERT_EQ(min_vaddr, 0u); in TEST()
173 uint64_t min_vaddr; in TEST() local
176 GetTestData("libc.so"), BuildId(), &min_vaddr, &file_offset_of_min_vaddr)); in TEST()
177 ASSERT_EQ(min_vaddr, 0x29000u); in TEST()
Ddso.cpp463 void SetMinExecutableVaddr(uint64_t min_vaddr, uint64_t file_offset) override { in SetMinExecutableVaddr() argument
464 min_vaddr_ = min_vaddr; in SetMinExecutableVaddr()
468 void GetMinExecutableVaddr(uint64_t* min_vaddr, uint64_t* file_offset) override { in GetMinExecutableVaddr() argument
470 return dex_file_dso_->GetMinExecutableVaddr(min_vaddr, file_offset); in GetMinExecutableVaddr()
500 *min_vaddr = min_vaddr_; in GetMinExecutableVaddr()
508 uint64_t min_vaddr; in IpToVaddrInFile() local
510 GetMinExecutableVaddr(&min_vaddr, &file_offset_of_min_vaddr); in IpToVaddrInFile()
512 return ip - map_start + min_vaddr; in IpToVaddrInFile()
517 return ip - map_start + map_pgoff - file_offset_of_min_vaddr + min_vaddr; in IpToVaddrInFile()
Drecord_file_writer.cpp307 uint64_t min_vaddr; in WriteFileFeatures() local
309 dso->GetMinExecutableVaddr(&min_vaddr, &file_offset_of_min_vaddr); in WriteFileFeatures()
323 if (!WriteFileFeature(dso->Path(), dso_type, min_vaddr, file_offset_of_min_vaddr, in WriteFileFeatures()
333 uint64_t min_vaddr, in WriteFileFeature() argument
353 MoveToBinaryFormat(min_vaddr, p); in WriteFileFeature()
Dcmd_dumprecord.cpp245 uint64_t min_vaddr; in DumpFeatureSection() local
252 &min_vaddr, &file_offset_of_min_vaddr, in DumpFeatureSection()
256 PrintIndented(2, "min_vaddr 0x%" PRIx64 "\n", min_vaddr); in DumpFeatureSection()
Drecord_file.h78 uint64_t min_vaddr,
153 uint64_t* min_vaddr, uint64_t* file_offset_of_min_vaddr,
Ddso.h169 virtual void GetMinExecutableVaddr(uint64_t* min_vaddr, uint64_t* file_offset) { in GetMinExecutableVaddr() argument
170 *min_vaddr = 0; in GetMinExecutableVaddr()
Drecord_file_reader.cpp415 uint64_t* min_vaddr, in ReadFileFeature() argument
445 MoveFromBinaryFormat(*min_vaddr, p); in ReadFileFeature()
502 uint64_t min_vaddr; in LoadBuildIdAndFileFeatures() local
507 while (ReadFileFeature(read_pos, &file_path, &file_type, &min_vaddr, &file_offset_of_min_vaddr, in LoadBuildIdAndFileFeatures()
509 thread_tree.AddDsoInfo(file_path, file_type, min_vaddr, file_offset_of_min_vaddr, &symbols, in LoadBuildIdAndFileFeatures()
Dread_elf.h81 uint64_t* min_vaddr,
Dcmd_record_test.cpp397 uint64_t min_vaddr; in CheckDumpedSymbols() local
403 while (reader->ReadFileFeature(read_pos, &file_path, &file_type, &min_vaddr, in CheckDumpedSymbols()
450 uint64_t min_vaddr; in TEST() local
456 while (reader->ReadFileFeature(read_pos, &file_path, &file_type, &min_vaddr, in TEST()
770 uint64_t min_vaddr; in TestRecordingApps() local
777 while (reader->ReadFileFeature(read_pos, &file_path, &file_type, &min_vaddr, in TestRecordingApps()
Dread_elf.cpp534 uint64_t* min_vaddr, in ReadMinExecutableVirtualAddressFromElfFile() argument
541 min_vaddr, file_offset_of_min_vaddr); in ReadMinExecutableVirtualAddressFromElfFile()
548 uint64_t* min_vaddr, in ReadMinExecutableVirtualAddressFromEmbeddedElfFile() argument
560 return ReadMinExecutableVirtualAddress(elf->getELFFile(), min_vaddr, file_offset_of_min_vaddr); in ReadMinExecutableVirtualAddressFromEmbeddedElfFile()
562 return ReadMinExecutableVirtualAddress(elf->getELFFile(), min_vaddr, file_offset_of_min_vaddr); in ReadMinExecutableVirtualAddressFromEmbeddedElfFile()
Dthread_tree.h120 uint64_t min_vaddr, uint64_t file_offset_of_min_vaddr,
Dthread_tree.cpp269 uint64_t min_vaddr, uint64_t file_offset_of_min_vaddr, in AddDsoInfo() argument
279 dso->SetMinExecutableVaddr(min_vaddr, file_offset_of_min_vaddr); in AddDsoInfo()
Drecord.h456 uint64_t min_vaddr; member
462 uint64_t min_vaddr);
Drecord.cpp945 MoveFromBinaryFormat(min_vaddr, p); in DsoRecord()
952 const std::string& dso_name, uint64_t min_vaddr) { in DsoRecord() argument
956 this->min_vaddr = min_vaddr; in DsoRecord()
963 MoveToBinaryFormat(min_vaddr, p); in DsoRecord()
973 PrintIndented(indent, "min_vaddr: 0x%" PRIx64 "\n", min_vaddr); in DumpData()
/system/extras/perfprofd/scripts/
Dperf_proto_stack.py132 map = SymbolMap(si.min_vaddr)
181 min_vaddr = None
199 min_vaddr = min_fn(min_vaddr, int(line_split[2], 0))
208 if min_vaddr is None:
209 min_vaddr = 0
210 logging.debug("min_vaddr for %s is %d", filename, min_vaddr)
211 vaddr_map[filename] = min_vaddr