/system/extras/perfprofd/ |
D | perf_data_converter.cc | 62 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()
|
D | perfprofd_record.proto | 24 optional uint64 min_vaddr = 3; field
|
/system/extras/simpleperf/ |
D | dso_test.cpp | 101 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()
|
D | read_elf_test.cpp | 164 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()
|
D | dso.cpp | 463 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()
|
D | record_file_writer.cpp | 307 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()
|
D | cmd_dumprecord.cpp | 245 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()
|
D | record_file.h | 78 uint64_t min_vaddr, 153 uint64_t* min_vaddr, uint64_t* file_offset_of_min_vaddr,
|
D | dso.h | 169 virtual void GetMinExecutableVaddr(uint64_t* min_vaddr, uint64_t* file_offset) { in GetMinExecutableVaddr() argument 170 *min_vaddr = 0; in GetMinExecutableVaddr()
|
D | record_file_reader.cpp | 415 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()
|
D | read_elf.h | 81 uint64_t* min_vaddr,
|
D | cmd_record_test.cpp | 397 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()
|
D | read_elf.cpp | 534 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()
|
D | thread_tree.h | 120 uint64_t min_vaddr, uint64_t file_offset_of_min_vaddr,
|
D | thread_tree.cpp | 269 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()
|
D | record.h | 456 uint64_t min_vaddr; member 462 uint64_t min_vaddr);
|
D | record.cpp | 945 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/ |
D | perf_proto_stack.py | 132 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
|