Home
last modified time | relevance | path

Searched refs:symbolsFiles_ (Results 1 – 13 of 13) sorted by relevance

/developtools/hiperf/test/unittest/common/native/
Dreport_protobuf_file_test.cpp38 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 …]
Dvirtual_runtime_test.cpp127 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(
Dvirtual_thread_test.cpp470 printf("symbols: %s\n", thread.symbolsFiles_.front().get()->filePath_.c_str());
/developtools/profiler/device/plugins/native_daemon/src/
Dvirtual_runtime.cpp48 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 …]
Dvirtual_thread.cpp114 : 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/
Dvirtual_thread.h49 symbolsFiles_(symbolsFiles), in VirtualThread()
60 symbolsFiles_(symbolsFiles), in VirtualThread()
99 const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFiles_; variable
Dvirtual_runtime.h76 return symbolsFiles_; in GetSymbolsFiles()
130 std::vector<std::unique_ptr<SymbolsFile>> symbolsFiles_; variable
/developtools/hiperf/src/
Dvirtual_runtime.cpp74 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 …]
Dvirtual_thread.cpp162 for (auto &symbolsFile : symbolsFiles_) { in FindSymbolsFileByMap()
178 for (const auto &file : symbolsFiles_) { in FindSymbolsFileByMap()
/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/
Dvirtual_runtime_test.cpp133 runtime_->symbolsFiles_[kernel->filePath_] = std::move(kernel); in PrepareKernelSymbol()
151 runtime_->symbolsFiles_[user->filePath_] = std::move(user); in PrepareUserSymbol()
Dvirtual_thread_test.cpp471 printf("symbols: %s\n", thread->symbolsFiles_.begin()->second->filePath_.c_str());
/developtools/profiler/device/plugins/native_daemon/include/
Dvirtual_runtime.h61 return symbolsFiles_; in GetSymbolsFiles()
163 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> symbolsFiles_; variable
Dvirtual_thread.h93 const std::unordered_map<std::string, std::unique_ptr<SymbolsFile>>& symbolsFiles_; variable