• Home
  • Raw
  • Download

Lines Matching refs:dso

281   bool FilterDso(Dso* dso) {  in FilterDso()  argument
282 auto lookup = dso_filter_cache.find(dso); in FilterDso()
286 bool match = std::regex_search(dso->Path(), binary_name_regex_); in FilterDso()
287 dso_filter_cache.insert({dso, match}); in FilterDso()
292 if (!FilterDso(instr_range.dso)) { in ProcessInstrRange()
296 auto& binary = autofdo_binary_map_[instr_range.dso]; in ProcessInstrRange()
306 if (!FilterDso(branch_list.dso)) { in ProcessBranchList()
310 ++branch_list_binary_map_[branch_list.dso][branch_list.addr][branch_list.branch]; in ProcessBranchList()
336 auto check_build_id = [](Dso* dso, const BuildId& expected_build_id) { in ProcessBranchListFile() argument
341 return GetBuildIdFromDsoPath(dso->GetDebugFilePath(), &build_id) && in ProcessBranchListFile()
352 std::unique_ptr<Dso> dso = in ProcessBranchListFile() local
354 if (!dso || !FilterDso(dso.get()) || !check_build_id(dso.get(), build_id)) { in ProcessBranchListFile()
358 Dso* dso_p = dso.get(); in ProcessBranchListFile()
359 branch_list_dso_v_.emplace_back(dso.release()); in ProcessBranchListFile()
391 bool ModifyBranchMapForKernel(const proto::ETMBranchList_Binary& binary_proto, Dso* dso, in ModifyBranchMapForKernel() argument
404 uint64_t vaddr_in_file = dso->IpToVaddrInFile(p.first, kernel_map_start_addr, 0); in ModifyBranchMapForKernel()
434 for (auto dso : dso_v) { in GenerateInstrRange() local
435 const AutoFDOBinaryInfo& binary = autofdo_binary_map_[dso]; in GenerateInstrRange()
438 uint64_t first_load_segment_addr = GetFirstLoadSegmentVaddr(dso); in GenerateInstrRange()
476 fprintf(output_fp_.get(), "// %s\n\n", dso->Path().c_str()); in GenerateInstrRange()
480 uint64_t GetFirstLoadSegmentVaddr(Dso* dso) { in GetFirstLoadSegmentVaddr() argument
482 if (auto elf = ElfFile::Open(dso->GetDebugFilePath(), &status); elf) { in GetFirstLoadSegmentVaddr()
505 Dso* dso = dso_p.first; in GenerateBranchList() local
509 binary_proto->set_path(dso->Path()); in GenerateBranchList()
510 BuildId build_id = Dso::FindExpectedBuildIdForPath(dso->Path()); in GenerateBranchList()
514 auto opt_binary_type = ToProtoBinaryType(dso->type()); in GenerateBranchList()
534 if (dso->type() == DSO_KERNEL) { in GenerateBranchList()
541 if (dso->GetDebugFilePath() == dso->Path()) { in GenerateBranchList()