/developtools/global_resource_tool/src/ |
D | file_entry.cpp | 40 : filePath_(path), isFile_(false) in FileEntry() 50 string filePath = filePath_.GetPath(); in Init() 63 string filePath = filePath_.GetPath(); in GetChilds() 78 filePath = filePath_.GetPath() + SEPARATE + filename; in GetChilds() 93 filePath = filePath_.GetPath() + SEPARATE + filename; in GetChilds() 110 return filePath_; in GetFilePath() 213 FileEntry::FilePath::FilePath(const string &path) : filePath_(path) in FilePath() 226 string filePath = filePath_ + SEPARATE + path; in Append() 248 return filePath_; in GetPath() 265 string::size_type pos = filePath_.find_first_of(SEPARATE.front(), offset); in GetSegments() [all …]
|
D | config_parser.cpp | 53 : filePath_(""), packageName_(""), moduleName_(""), moduleType_(ModuleType::NONE) in ConfigParser() 58 : filePath_(filePath), packageName_(""), moduleName_(""), moduleType_(ModuleType::NONE) in ConfigParser() 68 if (!ResourceUtil::OpenJsonFile(filePath_, rootNode_)) { in Init() 73 cerr << "Error: root node not obeject." << NEW_LINE_PATH << filePath_ << endl; in Init() 150 cerr << "Error: 'module' not object." << NEW_LINE_PATH << filePath_ << endl; in ParseModule() 154 cerr << "Error: 'module' empty." << NEW_LINE_PATH << filePath_ << endl; in ParseModule() 173 cerr << "Error: 'name' don't found in 'module'." << NEW_LINE_PATH << filePath_ << endl; in ParseModule() 201 cerr << "Error: 'distro' not object." << NEW_LINE_PATH << filePath_ << endl; in ParseDistro() 205 cerr << "Error: 'distro' empty." << NEW_LINE_PATH << filePath_ << endl; in ParseDistro() 214 … cerr << "Error: 'moduleName' don't found in 'distro'." << NEW_LINE_PATH << filePath_ << endl; in ParseDistro() [all …]
|
D | resource_item.cpp | 69 filePath_ = filePath; in SetFilePath() 109 return filePath_; in GetFilePath() 142 filePath_ = other.filePath_; in CopyFrom()
|
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
D | virtual_runtime_test.cpp | 129 kernel->filePath_ = kernelSymbol; in PrepareKernelSymbol() 130 kernel->symbols_.emplace_back(TEST_KERNEL_VADDR, 1u, "first_kernel_func", kernel->filePath_); in PrepareKernelSymbol() 132 kernel->filePath_); in PrepareKernelSymbol() 133 runtime_->symbolsFiles_[kernel->filePath_] = std::move(kernel); in PrepareKernelSymbol() 146 user->filePath_ = userSymbol; in PrepareUserSymbol() 147 user->symbols_.emplace_back(TEST_KERNEL_VADDR, 1u, "first_user_func", user->filePath_); in PrepareUserSymbol() 148 user->symbols_.emplace_back(TEST_KERNEL_VADDR + 1u, 1u, "second_user_func", user->filePath_); in PrepareUserSymbol() 151 runtime_->symbolsFiles_[user->filePath_] = std::move(user); in PrepareUserSymbol()
|
D | virtual_thread_test.cpp | 413 EXPECT_STREQ(thread->FindSymbolsFileByMap(inMap)->filePath_.c_str(), inMap.name_.c_str()); 417 EXPECT_STREQ(thread->FindSymbolsFileByMap(inMap)->filePath_.c_str(), inMap.name_.c_str()); 421 EXPECT_STREQ(thread->FindSymbolsFileByMap(inMap)->filePath_.c_str(), inMap.name_.c_str()); 454 symbolsFiles[symbolsFile->filePath_] = std::move(symbolsFile); 471 printf("symbols: %s\n", thread->symbolsFiles_.begin()->second->filePath_.c_str());
|
D | symbols_file_test.cpp | 948 sfs.filePath_ = std::to_string(rnd_()); 972 EXPECT_EQ(symbolsFile->filePath_, sfs.filePath_); 998 symbolsFile->filePath_ = std::to_string(rnd_()); 1008 std::to_string(nameIndex), symbolsFile->filePath_); 1011 std::to_string(nameIndex), symbolsFile->filePath_); 1014 std::to_string(nameIndex), symbolsFile->filePath_);
|
/developtools/hiperf/test/unittest/common/native/ |
D | virtual_runtime_test.cpp | 238 kernel->filePath_ = kernelSymbol; in PrepareKernelSymbol() 239 kernel->symbols_.emplace_back(testKernelVaddr, 1u, "first_kernel_func", kernel->filePath_); in PrepareKernelSymbol() 241 kernel->filePath_); in PrepareKernelSymbol() 255 user->filePath_ = userSymbol; in PrepareUserSymbol() 256 user->symbols_.emplace_back(testUserVaddr, 1u, "first_user_func", user->filePath_); in PrepareUserSymbol() 257 user->symbols_.emplace_back(testUserVaddr + 1u, 1u, "second_user_func", user->filePath_); in PrepareUserSymbol() 324 symbolFileStruct.filePath_ = "a"; 333 ASSERT_STREQ(runtime_->GetSymbolsFiles().front()->filePath_.c_str(), "a"); 350 symbolsFile->filePath_ = TEST_DWARF_ELF;
|
D | report_protobuf_file_test.cpp | 47 user->symbols_.emplace_back(0x1, 1u, "first_user_func", user->filePath_); in PrepareSymbolsFile() 48 user->symbols_.emplace_back(0x2, 1u, "second_user_func", user->filePath_); in PrepareSymbolsFile() 49 user->filePath_ = userSymbol; in PrepareSymbolsFile() 54 user2->symbols_.emplace_back(0x1, 1u, "first_user2_func", user2->filePath_); in PrepareSymbolsFile() 55 user2->symbols_.emplace_back(0x2, 1u, "second_user2_func", user2->filePath_); in PrepareSymbolsFile() 56 user2->symbols_.emplace_back(0x3, 1u, "third_user2_func", user2->filePath_); in PrepareSymbolsFile() 57 user2->filePath_ = userSymbol2; in PrepareSymbolsFile() 233 ASSERT_STREQ(message.path().c_str(), symbolFile->filePath_.c_str()); in __anon33a0bb2b0302()
|
D | virtual_thread_test.cpp | 396 symbolFileStruct.filePath_ = "1.elf"; 398 symbolFileStruct.filePath_ = "2.elf"; 400 symbolFileStruct.filePath_ = "3.elf"; 414 EXPECT_STREQ(thread.FindSymbolsFileByMap(inMap)->filePath_.c_str(), inMap.name_.c_str()); 418 EXPECT_STREQ(thread.FindSymbolsFileByMap(inMap)->filePath_.c_str(), inMap.name_.c_str()); 422 EXPECT_STREQ(thread.FindSymbolsFileByMap(inMap)->filePath_.c_str(), inMap.name_.c_str()); 470 printf("symbols: %s\n", thread.symbolsFiles_.front().get()->filePath_.c_str());
|
D | report_json_file_test.cpp | 583 user->symbols_.emplace_back(0x1, 1u, "first_user_func", user->filePath_); 584 user->symbols_.emplace_back(0x2, 1u, "second_user_func", user->filePath_); 585 user->filePath_ = userSymbol; 590 user2->symbols_.emplace_back(0x1, 1u, "first_user2_func", user2->filePath_); 591 user2->symbols_.emplace_back(0x2, 1u, "second_user2_func", user2->filePath_); 592 user2->symbols_.emplace_back(0x3, 1u, "third_user2_func", user2->filePath_); 593 user2->filePath_ = userSymbol2;
|
D | perf_file_format_test.cpp | 113 ASSERT_EQ(a[i].filePath_, b[i].filePath_); in CompareVecSymFile() 136 symFile.filePath_ = "this is test"; 137 testSize += (sizeof(uint32_t) + symFile.filePath_.size() + 1);
|
D | symbols_file_test.cpp | 904 sfs.filePath_ = std::to_string(rnd_()); 928 EXPECT_EQ(symbolsFile->filePath_, sfs.filePath_); 954 symbolsFile->filePath_ = std::to_string(rnd_()); 964 std::to_string(nameIndex), symbolsFile->filePath_); 967 std::to_string(nameIndex), symbolsFile->filePath_); 970 std::to_string(nameIndex), symbolsFile->filePath_);
|
/developtools/profiler/device/plugins/native_daemon/include/ |
D | perf_event_record.h | 50 std::string_view filePath_; // lib path , elf path member 62 : ip_(ip), vaddrInFile_(vaddrInFile), symbolName_(name), filePath_(filePath) in CallFrame() 89 output.append(filePath_); in ToSymbolString()
|
D | symbols_file.h | 230 std::string filePath_ = ""; variable 242 : symbolFileType_(symbolType), filePath_(path) {}; in SymbolsFile() 359 return left->filePath_ < right->filePath_; in operator()
|
D | perf_file_format.h | 37 std::string filePath_ = EMPTY_STRING; member
|
/developtools/hiperf/src/ |
D | report_json_file.cpp | 41 libList_.emplace_back(symbolsFileIt->get()->filePath_); in ProcessSymbolsFiles() 110 int libId = GetLibID(it->filePath_); in AddReportCallStack() 128 funcId, it->symbolName_.data(), grandchildren.nodeIndex_, it->filePath_.data()); in AddReportCallStack() 142 int libId = GetLibID(it->filePath_); in AddReportCallStackReverse() 160 it->filePath_.data()); in AddReportCallStackReverse() 202 int libId = GetLibID(it->filePath_); in UpdateReportCallStack() 204 HLOGW("not found lib path %s", it->filePath_.data()); in UpdateReportCallStack() 285 jsonFilePaths.emplace_back(symbolsFile->filePath_); in OutputJsonRuntimeInfo()
|
D | symbols_file.cpp | 123 symboleFilePath = filePath_; in FindSymbolFile() 178 HLOGW("elf found failed (belong to %s)", filePath_.c_str()); in LoadSymbols() 220 HLOGEP("read at %" PRIx64 " failed for %s", addr, filePath_.c_str()); in ReadRoMemory() 348 HLOGW("elf found failed (belong to %s)", filePath_.c_str()); in LoadDebugInfo() 617 filePath_); in ReadSymTab() 662 symbolsTable.emplace_back(shdr->secVaddr_, shdr->secSize_, name, name, filePath_); in AddSectionAsSymbol() 732 elfPath = filePath_; in LoadElfFile() 930 symbols_.emplace_back(addr, name, module.empty() ? filePath_ : module); in ParseKallsymsLine() 1065 if (module_ == filePath_ and onRecording_) { in LoadSymbols() 1075 filePath_ = koPath; in LoadSymbols() [all …]
|
D | perf_file_format.cpp | 208 size += SizeOf(symbolFileStruct.filePath_); in GetSize() 242 Read(symbolFileStruct.filePath_); in PerfFileSectionSymbolsFiles() 243 HLOGV(" symbolFileStruct.filePath_ %s", symbolFileStruct.filePath_.c_str()); in PerfFileSectionSymbolsFiles() 282 Write(symbolFileStruct.filePath_); in GetBinary() 295 symbolFileStruct.symbolStructs_.size(), symbolFileStruct.filePath_.c_str(), in GetBinary()
|
D | callstack.cpp | 164 HLOGM("try search debug info at %s", symbolsFile->filePath_.c_str()); in FindUnwindTable() 172 if (dynFileMap.find(symbolsFile->filePath_) == dynFileMap.end()) { in FindUnwindTable() 188 std::optional<unw_dyn_info_t> &odi = dynFileMap[symbolsFile->filePath_]; in FindUnwindTable() 197 HLOG_ASSERT_MESSAGE(dynFileMap.find(symbolsFile->filePath_) != dynFileMap.end(), "%s", in FindUnwindTable() 198 symbolsFile->filePath_.c_str()); in FindUnwindTable() 200 dynInfoProcessMap.at(unwindInfoPtr->thread.pid_).at(symbolsFile->filePath_); in FindUnwindTable()
|
D | hiperf_libreport.cpp | 146 HLOGD("%s buildId:%s\n", it->filePath_.c_str(), it->buildId_.c_str()); in ReportGetSymbolFiles() 148 result.append(it->filePath_.c_str()); in ReportGetSymbolFiles()
|
/developtools/profiler/device/plugins/native_daemon/src/ |
D | symbols_file.cpp | 121 symboleFilePath = filePath_; in FindSymbolFile() 175 CHECK_TRUE(!findPath.empty(), false, "elf found failed (belong to %s)", filePath_.c_str()); in LoadSymbols() 206 HLOGEP("read at %" PRIx64 " failed for %s", addr, filePath_.c_str()); in ReadRoMemory() 323 CHECK_TRUE(!elfPath.empty(), false, "elf found failed (belong to %s)", filePath_.c_str()); in LoadDebugInfo() 589 filePath_); in ReadSymTab() 629 symbolsTable.emplace_back(shdr->secVaddr_, shdr->secSize_, name, name, filePath_); in AddSectionAsSymbol() 702 elfPath = filePath_; in LoadElfFile() 873 symbols_.emplace_back(addr, name, module.empty() ? filePath_ : module); in ParseKallsymsLine() 978 if (module_ == filePath_ and onRecording_) { in LoadSymbols() 988 filePath_ = koPath; in LoadSymbols() [all …]
|
D | call_stack.cpp | 153 HLOGV("try seach debug info at %s", symbolsFile->filePath_.c_str()); in FindUnwindTable() 161 if (dynFileMap.find(symbolsFile->filePath_) == dynFileMap.end()) { in FindUnwindTable() 163 std::optional<unw_dyn_info_t> &odi = dynFileMap[symbolsFile->filePath_]; in FindUnwindTable() 183 HLOG_ASSERT_MESSAGE(dynFileMap.find(symbolsFile->filePath_) != dynFileMap.end(), "%s", in FindUnwindTable() 184 symbolsFile->filePath_.c_str()); in FindUnwindTable() 186 dynInfoProcessMap.at(unwindInfoPtr->thread.pid_).at(symbolsFile->filePath_); in FindUnwindTable()
|
/developtools/global_resource_tool/include/ |
D | file_entry.h | 42 std::string filePath_; variable 66 FilePath filePath_; variable
|
D | resource_item.h | 55 std::string filePath_; variable
|
/developtools/hiperf/include/ |
D | perf_event_record.h | 53 std::string_view filePath_; // lib path , elf path member 59 : ip_(ip), vaddrInFile_(vaddrInFile), symbolName_(name), filePath_(filePath) in CallFrame() 84 output.append(filePath_); in ToSymbolString()
|