/developtools/hiperf/test/unittest/common/native/ |
D | report_protobuf_file_test.cpp | 38 std::vector<std::unique_ptr<SymbolsFile>> symbolsFiles_; member in OHOS::Developtools::HiPerf::ReportProtobufFileTest 43 symbolsFiles_.clear(); in PrepareSymbolsFile() 50 symbolsFiles_.emplace_back(std::move(user)); in PrepareSymbolsFile() 58 symbolsFiles_.emplace_back(std::move(user2)); in PrepareSymbolsFile() 220 protobufOutputFileWriter_->ProcessSymbolsFiles(symbolsFiles_); 231 ASSERT_EQ(message.id() < symbolsFiles_.size(), true); in __anoncfc228cc0302() 232 const std::unique_ptr<SymbolsFile> &symbolFile = symbolsFiles_.at(message.id()); in __anoncfc228cc0302() 245 EXPECT_EQ(expectRecord, symbolsFiles_.size()); 308 protobufOutputFileWriter_->ProcessSampleRecord(sample, 0u, symbolsFiles_); 335 ASSERT_EQ(callframe.symbols_file_id() < symbolsFiles_.size(), true); in __anoncfc228cc0502() [all …]
|
D | virtual_runtime_test.cpp | 127 EXPECT_EQ(runtime_->symbolsFiles_.size(), 1u); 242 runtime_->symbolsFiles_.emplace_back(std::move(kernel)); in PrepareKernelSymbol() 261 runtime_->symbolsFiles_.emplace_back(std::move(user)); in PrepareUserSymbol() 346 auto &symbolsFile = runtime_->symbolsFiles_.emplace_back(
|
D | virtual_thread_test.cpp | 470 printf("symbols: %s\n", thread.symbolsFiles_.front().get()->filePath_.c_str());
|
/developtools/profiler/device/plugins/native_daemon/src/ |
D | virtual_runtime.cpp | 48 symbolsFiles_.reserve(SYMBOL_FILES_SIZE); in VirtualRuntime() 88 std::forward_as_tuple(pid, tid, symbolsFiles_, this)); in CreateThread() 248 if (symbolsFiles_.find(fileName) != symbolsFiles_.end()) { in IsSymbolExist() 257 symbolsFiles_.erase(fileName); in DelSymbolFile() 266 if (symbolsFiles_.find(fileName) != symbolsFiles_.end()) { in UpdateSymbols() 280 symbolsFiles_[symbolsFile->filePath_] = std::move(symbolsFile); in UpdateSymbols() 282 symbolsFiles_[symbolsFile->filePath_] = std::move(symbolsFile); in UpdateSymbols() 305 auto search = symbolsFiles_.find(map.name_); in GetKernelSymbol() 306 if (search != symbolsFiles_.end()) { in GetKernelSymbol() 341 auto symbolsFilesIter = symbolsFiles_.find(curMemMaps->name_); in GetUserSymbol() [all …]
|
D | virtual_thread.cpp | 114 : pid_(pid), tid_(tid), symbolsFiles_(symbolsFiles), virtualruntime_(runtime) in VirtualThread() 173 auto search = symbolsFiles_.find(inMap.name_); in FindSymbolsFileByMap() 174 if (search != symbolsFiles_.end()) { in FindSymbolsFileByMap() 185 for (auto &file : symbolsFiles_) { in FindSymbolsFileByMap() 195 auto search = symbolsFiles_.find(name); in FindSymbolsFileByName() 196 if (search != symbolsFiles_.end()) { in FindSymbolsFileByName() 207 for (auto &file : symbolsFiles_) { in FindSymbolsFileByName()
|
/developtools/hiperf/include/ |
D | virtual_thread.h | 49 symbolsFiles_(symbolsFiles), in VirtualThread() 60 symbolsFiles_(symbolsFiles), in VirtualThread() 99 const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFiles_; variable
|
D | virtual_runtime.h | 76 return symbolsFiles_; in GetSymbolsFiles() 130 std::vector<std::unique_ptr<SymbolsFile>> symbolsFiles_; variable
|
/developtools/hiperf/src/ |
D | virtual_runtime.cpp | 74 std::forward_as_tuple(pid, symbolsFiles_)); in CreateThread() 79 std::forward_as_tuple(pid, tid, GetThread(pid, pid), symbolsFiles_)); in CreateThread() 226 symbolsFiles_.emplace_back(std::move(kernelModuleFile)); in UpdateKernelModulesSymbols() 247 symbolsFiles_.emplace_back(std::move(kernelFile)); in UpdateKernelSymbols() 468 for (const auto &symbolsFile : symbolsFiles_) { in UpdateSymbols() 483 symbolsFiles_.emplace_back(std::move(symbolsFile)); in UpdateSymbols() 485 symbolsFiles_.emplace_back(std::move(symbolsFile)); in UpdateSymbols() 508 for (auto &symbolsFile : symbolsFiles_) { in GetKernelSymbol() 612 HLOGV("try find tid %u ip 0x%" PRIx64 " in %zu symbolsFiles", tid, ip, symbolsFiles_.size()); in GetSymbol() 655 HLOG_ASSERT_MESSAGE(symbolsFiles_.size() == 0, " symbolsFiles_ size is %zu", in UpdateFromPerfData() [all …]
|
D | virtual_thread.cpp | 162 for (auto &symbolsFile : symbolsFiles_) { in FindSymbolsFileByMap() 178 for (const auto &file : symbolsFiles_) { in FindSymbolsFileByMap()
|
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
D | virtual_runtime_test.cpp | 133 runtime_->symbolsFiles_[kernel->filePath_] = std::move(kernel); in PrepareKernelSymbol() 151 runtime_->symbolsFiles_[user->filePath_] = std::move(user); in PrepareUserSymbol()
|
D | virtual_thread_test.cpp | 471 printf("symbols: %s\n", thread->symbolsFiles_.begin()->second->filePath_.c_str());
|
/developtools/profiler/device/plugins/native_daemon/include/ |
D | virtual_runtime.h | 61 return symbolsFiles_; in GetSymbolsFiles() 163 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> symbolsFiles_; variable
|
D | virtual_thread.h | 93 const std::unordered_map<std::string, std::unique_ptr<SymbolsFile>>& symbolsFiles_; variable
|