Home
last modified time | relevance | path

Searched refs:vaddr_in_file (Results 1 – 16 of 16) sorted by relevance

/system/extras/simpleperf/
Dreport_utils_test.cpp122 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 …]
Dthread_tree.cpp300 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()
Dreport_utils.cpp98 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()
Dcmd_report.cpp58 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 …]
Dreport_utils.h44 uint64_t vaddr_in_file = 0; member
Dcmd_monitor.cpp67 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()
Dcmd_dumprecord.cpp47 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()
Dreport_lib_interface.cpp75 uint64_t vaddr_in_file; member
289 entry.symbol.vaddr_in_file = report_entry.vaddr_in_file; in SetCurrentSample()
Dcmd_report_sample.cpp397 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()
Dcmd_inject.cpp404 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()
Dcmd_report_sample.proto27 optional uint64 vaddr_in_file = 1; field
Dcmd_debug_unwind.cpp300 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/
Danalyze.py172 relative_addr = symbol.vaddr_in_file - symbol.symbol_addr
/system/extras/simpleperf/scripts/
Dpprof_proto_generator.py390 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)
Dannotate.py220 symbol.vaddr_in_file)
291 sources = self.addr2line.get_sources(symbol.dso_name, symbol.vaddr_in_file)
Dreport_html.py659 callstack = [(lib_id, func_id, symbol.vaddr_in_file)]
667 callstack.append((lib_id, func_id, symbol.vaddr_in_file))