| /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 | 54 : filePath_(""), packageName_(""), moduleName_(""), moduleType_(ModuleType::NONE) in ConfigParser() 59 : filePath_(filePath), packageName_(""), moduleName_(""), moduleType_(ModuleType::NONE) in ConfigParser() 69 if (!ResourceUtil::OpenJsonFile(filePath_, rootNode_)) { in Init() 74 cerr << "Error: root node not obeject." << NEW_LINE_PATH << filePath_ << endl; in Init() 151 cerr << "Error: 'module' not object." << NEW_LINE_PATH << filePath_ << endl; in ParseModule() 155 cerr << "Error: 'module' empty." << NEW_LINE_PATH << filePath_ << endl; in ParseModule() 174 cerr << "Error: 'name' don't found in 'module'." << NEW_LINE_PATH << filePath_ << endl; in ParseModule() 202 cerr << "Error: 'distro' not object." << NEW_LINE_PATH << filePath_ << endl; in ParseDistro() 206 cerr << "Error: 'distro' empty." << NEW_LINE_PATH << filePath_ << endl; in ParseDistro() 215 … 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 | 125 kernel->filePath_ = kernelSymbol; in PrepareKernelSymbol() 126 kernel->symbols_.emplace_back(TEST_KERNEL_VADDR, 1u, "first_kernel_func", kernel->filePath_); in PrepareKernelSymbol() 128 kernel->filePath_); in PrepareKernelSymbol() 129 runtime_->symbolsFiles_[kernel->filePath_] = std::move(kernel); in PrepareKernelSymbol() 142 user->filePath_ = userSymbol; in PrepareUserSymbol() 143 user->symbols_.emplace_back(TEST_KERNEL_VADDR, 1u, "first_user_func", user->filePath_); in PrepareUserSymbol() 144 user->symbols_.emplace_back(TEST_KERNEL_VADDR + 1u, 1u, "second_user_func", user->filePath_); in PrepareUserSymbol() 147 runtime_->symbolsFiles_[user->filePath_] = std::move(user); in PrepareUserSymbol()
|
| /developtools/hiperf/src/ |
| D | symbols_file.cpp | 125 symboleFilePath = filePath_; in FindSymbolFile() 175 HLOGW("elf found failed (belong to %s)", filePath_.c_str()); in LoadSymbols() 218 HLOGW("elf found failed (belong to %s)", filePath_.c_str()); in LoadDebugInfo() 248 filePath_ = elfPath + "!" + elfFile_->GetElfName(); in LoadDebugInfo() 249 HLOGD("update path for so in hap %s.", filePath_.c_str()); in LoadDebugInfo() 250 map->name = filePath_; in LoadDebugInfo() 252 map->prevMap->name = filePath_; in LoadDebugInfo() 573 symbols_.emplace_back(addr, name, module.empty() ? filePath_ : module); in ParseKallsymsLine() 706 if (filePath_ == SYSMGR_FILE_NAME) { in LoadKernelSyms() 708 } else if (filePath_ == DEVHOST_FILE_NAME) { in LoadKernelSyms() [all …]
|
| D | report_json_file.cpp | 42 libList_.emplace_back(symbolsFileIt->get()->filePath_); in ProcessSymbolsFiles() 111 int libId = GetLibID(it->filePath_); in AddReportCallStack() 129 funcId, it->symbolName_.data(), grandchildren.nodeIndex_, it->filePath_.data()); in AddReportCallStack() 143 int libId = GetLibID(it->filePath_); in AddReportCallStackReverse() 161 it->filePath_.data()); in AddReportCallStackReverse() 203 int libId = GetLibID(it->filePath_); in UpdateReportCallStack() 205 HLOGW("not found lib path %s", it->filePath_.data()); in UpdateReportCallStack() 286 jsonFilePaths.emplace_back(symbolsFile->filePath_); in OutputJsonRuntimeInfo()
|
| D | callstack.cpp | 190 HLOGM("try search debug info at %s", symbolsFile->filePath_.c_str()); in FindUnwindTable() 198 if (dynFileMap.find(symbolsFile->filePath_) == dynFileMap.end()) { in FindUnwindTable() 214 std::optional<unw_dyn_info_t> &odi = dynFileMap[symbolsFile->filePath_]; in FindUnwindTable() 223 HLOG_ASSERT_MESSAGE(dynFileMap.find(symbolsFile->filePath_) != dynFileMap.end(), "%s", in FindUnwindTable() 224 symbolsFile->filePath_.c_str()); in FindUnwindTable() 226 dynInfoProcessMap.at(unwindInfoPtr->thread.pid_).at(symbolsFile->filePath_); in FindUnwindTable() 717 HLOGM("try search debug info at %s", symbolsFile->filePath_.c_str()); in FillUnwindTable() 725 if (unwTabMap.find(symbolsFile->filePath_) == unwTabMap.end()) { in FillUnwindTable() 736 unwTabMap[symbolsFile->filePath_] = uti; in FillUnwindTable() 737 outTableInfo = unwTabMap[symbolsFile->filePath_]; in FillUnwindTable() [all …]
|
| D | perf_file_format.cpp | 208 size += SizeOf(symbolFileStruct.filePath_); in GetSize() 242 Read(symbolFileStruct.filePath_); in ReadSymbolFileStructs() 243 HLOGV(" symbolFileStruct.filePath_ %s", symbolFileStruct.filePath_.c_str()); in ReadSymbolFileStructs() 291 Write(symbolFileStruct.filePath_); in GetBinary() 304 symbolFileStruct.symbolStructs_.size(), symbolFileStruct.filePath_.c_str(), in GetBinary()
|
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | symbols_file.cpp | 120 symboleFilePath = filePath_; in FindSymbolFile() 175 … UNWIND_CHECK_TRUE(!findPath.empty(), false, "elf found failed (belong to %s)", filePath_.c_str()); in LoadSymbols() 199 … UNWIND_CHECK_TRUE(!elfPath.empty(), false, "elf found failed (belong to %s)", filePath_.c_str()); in LoadDebugInfo() 222 filePath_ = elfPath + "!" + elfFile_->GetElfName(); in LoadDebugInfo() 223 HLOGD("update path for so in hap %s.", filePath_.c_str()); in LoadDebugInfo() 224 map->name = filePath_; in LoadDebugInfo() 226 map->prevMap->name = filePath_; in LoadDebugInfo() 508 symbols_.emplace_back(addr, name, module.empty() ? filePath_ : module); in ParseKallsymsLine() 613 if (module_ == filePath_ and onRecording_) { in LoadSymbols() 623 filePath_ = koPath; in LoadSymbols() [all …]
|
| D | call_stack.cpp | 172 HLOGV("try seach debug info at %s", symbolsFile->filePath_.c_str()); in FindUnwindTable() 180 if (dynFileMap.find(symbolsFile->filePath_) == dynFileMap.end()) { in FindUnwindTable() 182 std::optional<unw_dyn_info_t> &odi = dynFileMap[symbolsFile->filePath_]; in FindUnwindTable() 202 HLOG_ASSERT_MESSAGE(dynFileMap.find(symbolsFile->filePath_) != dynFileMap.end(), "%s", in FindUnwindTable() 203 symbolsFile->filePath_.c_str()); in FindUnwindTable() 205 dynInfoProcessMap.at(unwindInfoPtr->thread.pid_).at(symbolsFile->filePath_); in FindUnwindTable() 559 HLOGM("try search debug info at %s", symbolsFile->filePath_.c_str()); in FillUnwindTable() 567 if (unwTabMap.find(symbolsFile->filePath_) == unwTabMap.end()) { in FillUnwindTable() 578 unwTabMap[symbolsFile->filePath_] = uti; in FillUnwindTable() 579 outTableInfo = unwTabMap[symbolsFile->filePath_]; in FillUnwindTable() [all …]
|
| /developtools/hiperf/test/unittest/common/native/ |
| D | virtual_runtime_test.cpp | 248 kernel->filePath_ = kernelSymbol; in PrepareKernelSymbol() 249 kernel->symbols_.emplace_back(testKernelVaddr, 1u, "first_kernel_func", kernel->filePath_); in PrepareKernelSymbol() 251 kernel->filePath_); in PrepareKernelSymbol() 265 user->filePath_ = userSymbol; in PrepareUserSymbol() 266 user->symbols_.emplace_back(testUserVaddr, 1u, "first_user_func", user->filePath_); in PrepareUserSymbol() 267 user->symbols_.emplace_back(testUserVaddr + 1u, 1u, "second_user_func", user->filePath_); in PrepareUserSymbol() 334 symbolFileStruct.filePath_ = "a"; 343 ASSERT_STREQ(runtime_->GetSymbolsFiles().front()->filePath_.c_str(), "a"); 360 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 __anonc60d4f8d0302()
|
| D | virtual_thread_test.cpp | 322 symbolFileStruct.filePath_ = "1.elf"; 324 symbolFileStruct.filePath_ = "2.elf"; 326 symbolFileStruct.filePath_ = "3.elf"; 340 EXPECT_STREQ(thread.FindSymbolsFileByMap(inMap)->filePath_.c_str(), inMap->name.c_str()); 344 EXPECT_STREQ(thread.FindSymbolsFileByMap(inMap)->filePath_.c_str(), inMap->name.c_str()); 348 EXPECT_STREQ(thread.FindSymbolsFileByMap(inMap)->filePath_.c_str(), inMap->name.c_str()); 396 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);
|
| /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 | 78 std::string filePath_ = ""; variable 90 : symbolFileType_(symbolType), filePath_(path) {}; in SymbolsFile() 204 return left->filePath_ < right->filePath_; in operator()
|
| D | perf_file_format.h | 37 std::string filePath_ = EMPTY_STRING; member
|
| /developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/src/ |
| D | native_memory_profiler_sa_service.cpp | 154 if (config->filePath_.empty() && fd == 0) { in StartHook() 156 config->filePath_ = FILE_PATH_HEAD + filePathStr + FILE_PATH_TAIL; in StartHook() 158 PROFILER_LOG_INFO(LOG_CORE, "file path: %s", config->filePath_.c_str()); in StartHook() 166 writeFile = std::make_shared<TraceFileWriter>(config->filePath_); in StartHook() 194 … std::make_shared<TaskConfig>(hook, config->pid_, config->processName_, config->filePath_, timerFd, in StartHook() 250 if (!config->filePath_.empty()) { in CheckConfig() 251 if (nameAndFilePathCtx_.find(config->filePath_) != nameAndFilePathCtx_.end()) { in CheckConfig() 253 … "NativeMemoryProfilerSaService: File %s is being used.", config->filePath_.c_str()); in CheckConfig()
|
| D | native_memory_profiler_sa_config.cpp | 24 WRITESTRING(parcel, filePath_); in Marshalling() 57 READSTRING(parcel, config->filePath_); in Unmarshalling() 89 …config->pid_, config->filePath_.c_str(), config->duration_, config->filterSize_, config->shareMemo… in PrintConfig()
|
| /developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/test/unittest/ |
| D | native_memory_profiler_sa_config_test.cpp | 47 config->filePath_ = filePath; 57 EXPECT_EQ(result->filePath_, filePath);
|
| D | native_memory_profiler_sa_client_manager_test.cpp | 61 config->filePath_ = filePath; 90 config->filePath_ = "/data/local/tmp/native_hook_test.htrace";
|
| D | native_memory_profiler_sa_service_test.cpp | 61 config->filePath_ = "/data/local/tmp/native_hook_test.htrace"; 93 config->filePath_ = "/data/local/tmp/native_hook_test.htrace";
|
| /developtools/global_resource_tool/include/ |
| D | file_entry.h | 42 std::string filePath_; variable 66 FilePath filePath_; variable
|
| /developtools/profiler/device/plugins/native_daemon/native_memory_profiler_sa/include/ |
| D | native_memory_profiler_sa_config.h | 34 std::string filePath_; variable
|