/developtools/profiler/device/services/profiler_service/test/unittest/ |
D | plugin_service_stubs.cpp | 212 CHECK_TRUE(nameIndex_.count(pluginName) > 0, std::make_pair(0, nullptr), in GetPluginContext() 214 uint32_t id = nameIndex_[pluginName]; in GetPluginContext() 229 if (nameIndex_.find(pluginInfo.name) == nameIndex_.end()) { // add new plugin in AddPluginInfo() 252 nameIndex_[pluginInfo.name] = pluginId; in AddPluginInfo() 255 …CHECK_TRUE(nameIndex_.count(pluginInfo.name) > 0, false, "plugin name %s not found!", pluginInfo.n… in AddPluginInfo() 257 uint32_t pluginId = nameIndex_[pluginInfo.name]; in AddPluginInfo() 300 nameIndex_.erase(pluginName); in RemovePluginInfo()
|
/developtools/profiler/device/services/plugin_service/src/ |
D | plugin_service.cpp | 282 CHECK_TRUE(nameIndex_.count(pluginName) > 0, std::make_pair(0, nullptr), in GetPluginContext() 284 uint32_t id = nameIndex_[pluginName]; in GetPluginContext() 299 if (nameIndex_.find(pluginInfo.name) == nameIndex_.end()) { // add new plugin in AddPluginInfo() 325 nameIndex_[pluginInfo.name] = pluginId; in AddPluginInfo() 328 …CHECK_TRUE(nameIndex_.count(pluginInfo.name) > 0, false, "plugin name %s not found!", pluginInfo.n… in AddPluginInfo() 330 uint32_t pluginId = nameIndex_[pluginInfo.name]; in AddPluginInfo() 390 nameIndex_.erase(pluginName); in RemovePluginInfo() 472 if (nameIndex_.find(name) == nameIndex_.end()) { in GetPluginIdByName() 475 return nameIndex_[name]; in GetPluginIdByName()
|
/developtools/profiler/host/smartperf/trace_streamer/test/unittest/ |
D | process_filter_test.cpp | 188 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName)); 192 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName2)); 225 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName)); 248 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName2)); 276 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName3)); 295 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName)); 364 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName));
|
/developtools/profiler/host/smartperf/trace_streamer/src/filter/ |
D | process_filter.cpp | 73 thread->nameIndex_ = nameIndex; in UpdateOrCreateThreadWithPidAndName() 115 thread->nameIndex_ = traceDataCache_->GetDataIndex(name); in UpdateOrCreateProcessWithName() 127 thread->nameIndex_ = threadNameIndex; in UpdateOrCreateThreadWithNameIndex() 131 thread->nameIndex_ = threadNameIndex; in UpdateOrCreateThreadWithNameIndex() 175 if (thread->nameIndex_) { in isThreadNameEmpty()
|
D | binder_filter.cpp | 82 const auto destThreadName = traceDataCache_->GetConstThreadData(dstItid).nameIndex_; in SendTraction() 111 const auto threadName = traceDataCache_->GetConstThreadData(internalTid).nameIndex_; in ReceiveTraction()
|
D | cpu_filter.cpp | 107 thread->tid_, traceDataCache_->GetDataFromDict(thread->nameIndex_), thread->startT_); in Finish()
|
/developtools/profiler/device/plugins/native_daemon/src/ |
D | section_header.cpp | 57 nameIndex_ = u4Buf[index]; in ParseSecHeader32() 84 nameIndex_ = u4Buf[index]; in ParseSecHeader64()
|
D | elf_symbol.cpp | 41 nameIndex_ = u4Buf[nameOffset]; in ParseElf32Symbol() 60 nameIndex_ = u4Buf[nameOffset]; in ParseElf64Symbol()
|
D | symbols_file.cpp | 587 std::string name = elfFile->GetStrPtr(shdr->link_, symbol->nameIndex_); in ReadSymTab() 611 elfFile->GetStrPtr(elfFile->ehdr_->shdrStrTabIdx_, shdr->nameIndex_); in ParseShdr() 651 … const char *sh_name = elfFile->GetStrPtr(elfFile->ehdr_->shdrStrTabIdx_, shdr->nameIndex_); in ParseShdr()
|
D | elf_file.cpp | 240 std::string secName = GetSectionName(shdr->nameIndex_); in ParseSecHeaders()
|
/developtools/profiler/host/smartperf/trace_streamer/src/parser/hiperf_parser/hiperf/ |
D | section_header.cpp | 57 nameIndex_ = u4Buf[index]; in ParseSecHeader32() 84 nameIndex_ = u4Buf[index]; in ParseSecHeader64()
|
D | elf_symbol.cpp | 41 nameIndex_ = u4Buf[nameOffset]; in ParseElf32Symbol() 60 nameIndex_ = u4Buf[nameOffset]; in ParseElf64Symbol()
|
D | symbols_file.cpp | 594 std::string name = elfFile->GetStrPtr(shdr->link_, symbol->nameIndex_); in ReadSymTab() 619 elfFile->GetStrPtr(elfFile->ehdr_->shdrStrTabIdx_, shdr->nameIndex_); in ParseShdr() 653 elfFile->GetStrPtr(elfFile->ehdr_->shdrStrTabIdx_, shdr->nameIndex_); in ParseShdr()
|
D | elf_file.cpp | 234 std::string secName = GetSectionName(shdr->nameIndex_); in ParseSecHeaders()
|
/developtools/hiperf/src/ |
D | section_header.cpp | 57 nameIndex_ = u4Buf[index]; in ParseSecHeader32() 84 nameIndex_ = u4Buf[index]; in ParseSecHeader64()
|
D | elf_symbol.cpp | 41 nameIndex_ = u4Buf[nameOffset]; in ParseElf32Symbol() 60 nameIndex_ = u4Buf[nameOffset]; in ParseElf64Symbol()
|
D | symbols_file.cpp | 597 std::string name = elfFile->GetStrPtr(shdr->link_, symbol->nameIndex_); in ReadSymTab() 622 elfFile->GetStrPtr(elfFile->ehdr_->shdrStrTabIdx_, shdr->nameIndex_); in ParseShdr() 664 elfFile->GetStrPtr(elfFile->ehdr_->shdrStrTabIdx_, shdr->nameIndex_); in ParseShdr()
|
D | elf_file.cpp | 236 std::string secName = GetSectionName(shdr->nameIndex_); in ParseSecHeaders()
|
/developtools/profiler/host/smartperf/trace_streamer/src/trace_data/ |
D | trace_data_cache_base.cpp | 43 thread.nameIndex_ = dataDict_.GetStringIndex(ZERO_THREAD_NAME); in UpdataZeroThreadInfo()
|
D | trace_stdtype.h | 97 DataIndex nameIndex_ = 0; variable 423 return nameIndex_; in NameIndexData() 429 nameIndex_.clear(); in Clear() 435 std::deque<uint32_t> nameIndex_ = {}; variable
|
/developtools/hiperf/include/ |
D | elf_parser.h | 146 uint32_t nameIndex_; variable 189 uint32_t nameIndex_; variable
|
/developtools/profiler/device/plugins/native_daemon/include/ |
D | elf_parser.h | 156 uint32_t nameIndex_; variable 199 uint32_t nameIndex_; variable
|
/developtools/profiler/device/services/plugin_service/include/ |
D | plugin_service.h | 117 std::map<std::string, uint32_t> nameIndex_; variable
|
/developtools/profiler/host/smartperf/trace_streamer/src/parser/htrace_parser/ |
D | htrace_native_hook_parser.cpp | 347 if (thread->nameIndex_ == 0) { in UpdateThreadNameWithNativeHookData() 350 thread->nameIndex_ = threadNameMapItor->second; in UpdateThreadNameWithNativeHookData()
|
/developtools/profiler/host/smartperf/trace_streamer/src/table/ |
D | thread_table.cpp | 439 const auto& name = dataCache_->GetDataFromDict(thread.nameIndex_); in Column()
|