/system/extras/simpleperf/ |
D | report_utils_test.cpp | 122 ASSERT_EQ(entries[0].vaddr_in_file, 0); in TEST_F() 127 ASSERT_EQ(entries[1].vaddr_in_file, 0x100); in TEST_F() 142 ASSERT_EQ(entries[0].vaddr_in_file, 0); in TEST_F() 147 ASSERT_EQ(entries[1].vaddr_in_file, 0x3000); in TEST_F() 163 ASSERT_EQ(entries[i].vaddr_in_file, 0); in TEST_F() 168 ASSERT_EQ(entries[i + 1].vaddr_in_file, 0x100); in TEST_F() 174 ASSERT_EQ(entries[2].vaddr_in_file, 0); in TEST_F() 179 ASSERT_EQ(entries[5].vaddr_in_file, 0x100); in TEST_F() 199 ASSERT_EQ(entries[0].vaddr_in_file, 0x100); in TEST_F() 220 ASSERT_EQ(entries[i].vaddr_in_file, 0); in TEST_F() [all …]
|
D | thread_tree.cpp | 300 uint64_t vaddr_in_file = 0; in FindSymbol() local 304 vaddr_in_file = ip; in FindSymbol() 306 vaddr_in_file = dso->IpToVaddrInFile(ip, map->start_addr, map->pgoff); in FindSymbol() 308 symbol = dso->FindSymbol(vaddr_in_file); in FindSymbol() 312 vaddr_in_file = ip; in FindSymbol() 314 symbol = dso->FindSymbol(vaddr_in_file); in FindSymbol() 321 dso->FileName().c_str(), vaddr_in_file); in FindSymbol() 322 dso->AddUnknownSymbol(vaddr_in_file, name); in FindSymbol() 323 symbol = dso->FindSymbol(vaddr_in_file); in FindSymbol() 330 *pvaddr_in_file = vaddr_in_file; in FindSymbol()
|
D | report_utils.cpp | 98 uint64_t vaddr_in_file; in Build() local 99 const Symbol* symbol = thread_tree_.FindSymbol(map, ips[i], &vaddr_in_file, &dso); in Build() 113 entry.vaddr_in_file = vaddr_in_file; in Build() 184 entry.vaddr_in_file = entry.symbol->addr; in ConvertJITFrame()
|
D | cmd_report.cpp | 58 uint64_t vaddr_in_file; member 61 BranchFromEntry() : map(nullptr), symbol(nullptr), vaddr_in_file(0), flags(0) {} in BranchFromEntry() 76 uint64_t vaddr_in_file; member 83 uint64_t vaddr_in_file) in SampleEntry() 94 vaddr_in_file(vaddr_in_file) {} in SampleEntry() 111 BUILD_COMPARE_VALUE_FUNCTION(CompareVaddrInFile, vaddr_in_file); 112 BUILD_DISPLAY_HEX64_FUNCTION(DisplayVaddrInFile, vaddr_in_file); 169 uint64_t vaddr_in_file; in CreateSample() local 170 const Symbol* symbol = thread_tree_->FindSymbol(map, r.ip_data.ip, &vaddr_in_file); in CreateSample() 174 thread, map, symbol, vaddr_in_file)); in CreateSample() [all …]
|
D | report_utils.h | 44 uint64_t vaddr_in_file = 0; member
|
D | cmd_monitor.cpp | 67 uint64_t vaddr_in_file; member 536 s.dso->Path().c_str(), s.vaddr_in_file); in DumpSampleRecord() 557 s.dso->Path().c_str(), s.vaddr_in_file); in DumpSampleCallchain() 568 info.symbol = thread_tree_.FindSymbol(map, ip, &info.vaddr_in_file, &info.dso); in GetSymbolInfo()
|
D | cmd_dumprecord.cpp | 47 uint64_t vaddr_in_file; member 383 s.vaddr_in_file); in ProcessSampleRecord() 406 s.vaddr_in_file); in ProcessCallChainRecord() 415 info.symbol = thread_tree_.FindSymbol(map, ip, &info.vaddr_in_file, &info.dso); in GetSymbolInfo()
|
D | report_lib_interface.cpp | 75 uint64_t vaddr_in_file; member 289 entry.symbol.vaddr_in_file = report_entry.vaddr_in_file; in SetCurrentSample()
|
D | cmd_report_sample.cpp | 397 FprintIndented(report_fp_, 2, "vaddr_in_file: %" PRIx64 "\n", callchain.vaddr_in_file()); in DumpProtobufReport() 601 callchain->set_vaddr_in_file(node.vaddr_in_file); in PrintSampleRecordInProtobuf() 764 FprintIndented(report_fp_, 1, "vaddr_in_file: %" PRIx64 "\n", entries[0].vaddr_in_file); in PrintSampleRecord() 775 FprintIndented(report_fp_, 2, "vaddr_in_file: %" PRIx64 "\n", entries[i].vaddr_in_file); in PrintSampleRecord()
|
D | cmd_inject.cpp | 404 uint64_t vaddr_in_file = dso->IpToVaddrInFile(p.first, kernel_map_start_addr, 0); in ModifyBranchMapForKernel() local 405 new_branch_map[vaddr_in_file] = std::move(p.second); in ModifyBranchMapForKernel()
|
D | cmd_report_sample.proto | 27 optional uint64 vaddr_in_file = 1; field
|
D | cmd_debug_unwind.cpp | 300 fprintf(out_fp_, "vaddr_in_file_%zu: 0x%" PRIx64 "\n", id, entry.vaddr_in_file); in UnwindRecord() 546 fprintf(out_fp_, "vaddr_in_file_%zu: 0x%" PRIx64 "\n", id, entry.vaddr_in_file); in ReportUnwindingResult()
|
/system/extras/perf2cfg/perf2cfg/ |
D | analyze.py | 172 relative_addr = symbol.vaddr_in_file - symbol.symbol_addr
|
/system/extras/simpleperf/scripts/ |
D | pprof_proto_generator.py | 390 location = Location(mapping_id, ip, symbol.vaddr_in_file) 455 def get_function_id(self, name, dso_name, vaddr_in_file): argument 458 function = Function(self.get_string_id(name), self.get_string_id(dso_name), vaddr_in_file)
|
D | annotate.py | 220 symbol.vaddr_in_file) 291 sources = self.addr2line.get_sources(symbol.dso_name, symbol.vaddr_in_file)
|
D | report_html.py | 659 callstack = [(lib_id, func_id, symbol.vaddr_in_file)] 667 callstack.append((lib_id, func_id, symbol.vaddr_in_file))
|