/developtools/profiler/device/services/profiler_service/test/unittest/ |
H A D | plugin_service_stubs.cpp | 224 CHECK_TRUE(nameIndex_.count(pluginName) > 0, std::make_pair(0, nullptr), in GetPluginContext() 226 uint32_t id = nameIndex_[pluginName]; in GetPluginContext() 241 if (nameIndex_.find(pluginInfo.name) == nameIndex_.end()) { // add new plugin in AddPluginInfo() 264 nameIndex_[pluginInfo.name] = pluginId; in AddPluginInfo() 267 CHECK_TRUE(nameIndex_.count(pluginInfo.name) > 0, false, "plugin name %s not found!", pluginInfo.name.c_str()); in AddPluginInfo() 269 uint32_t pluginId = nameIndex_[pluginInfo.name]; in AddPluginInfo() 312 nameIndex_.erase(pluginName); in RemovePluginInfo()
|
/developtools/profiler/device/services/plugin_service/src/ |
H A D | plugin_service.cpp | 315 CHECK_TRUE(nameIndex_.count(pluginName) > 0, std::make_pair(0, nullptr), in GetPluginContext() 317 uint32_t id = nameIndex_[pluginName]; in GetPluginContext() 332 if (nameIndex_.find(pluginInfo.name) == nameIndex_.end()) { // add new plugin in AddPluginInfo() 358 nameIndex_[pluginInfo.name] = pluginId; in AddPluginInfo() 361 CHECK_TRUE(nameIndex_.count(pluginInfo.name) > 0, false, "plugin name %s not found!", pluginInfo.name.c_str()); in AddPluginInfo() 363 uint32_t pluginId = nameIndex_[pluginInfo.name]; in AddPluginInfo() 423 nameIndex_.erase(pluginName); in RemovePluginInfo() 589 if (nameIndex_.find(name) == nameIndex_ in GetPluginIdByName() [all...] |
/developtools/smartperf_host/trace_streamer/src/filter/ |
H A D | process_filter.cpp | 73 thread->nameIndex_ = nameIndex; in UpdateOrCreateThreadWithPidAndName() 115 thread->nameIndex_ = traceDataCache_->GetDataIndex(process->cmdLine_); in UpdateOrCreateProcessWithName() 130 if (thread && threadNameIndex != thread->nameIndex_) { in UpdateOrCreateThreadWithNameIndex() 131 thread->nameIndex_ = threadNameIndex; in UpdateOrCreateThreadWithNameIndex() 140 thread->nameIndex_ = threadNameIndex; in UpdateOrCreateThreadWithNameIndex()
|
H A D | app_start_filter.cpp | 90 if (item.first == threadData[i].nameIndex_) { in UpdatePidByNameIndex() 215 thread->nameIndex_ = dataIndex; in ProcAbilityLaunchData() 230 auto nameindex = threadData[callId].nameIndex_; in ProcForegroundData()
|
H A D | binder_filter.cpp | 82 const auto destThreadName = traceDataCache_->GetConstThreadData(dstItid).nameIndex_; in SendTraction() 111 const auto threadName = traceDataCache_->GetConstThreadData(internalTid).nameIndex_; in ReceiveTraction()
|
H A D | cpu_filter.cpp | 345 thread->tid_, traceDataCache_->GetDataFromDict(thread->nameIndex_), thread->startT_); in UpdateProcessData()
|
/developtools/smartperf_host/trace_streamer/test/unittest/filter/ |
H A D | process_filter_test.cpp | 188 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName)); in HWTEST_F() 192 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName2)); in HWTEST_F() 225 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName)); in HWTEST_F() 248 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName2)); in HWTEST_F() 276 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName3)); in HWTEST_F() 295 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName)); in HWTEST_F() 364 EXPECT_TRUE(thread->nameIndex_ == traceDataCache_.GetDataIndex(threadName)); in HWTEST_F()
|
/developtools/smartperf_host/trace_streamer/src/trace_data/ |
H A D | trace_data_cache_base.cpp | 46 thread.nameIndex_ = dataDict_.GetStringIndex(ZERO_THREAD_NAME); in UpdataZeroThreadInfo()
|
H A D | trace_data_cache.cpp | 360 perfTaskName = GetDataFromDict(GetConstThreadData(threadDataRow).nameIndex_); in ExportPerfSampleToFile() 437 auto hookTaskName = GetDataFromDict(internalThreadsData_[itid].nameIndex_); in ExportHookDataReadableText() 545 auto fileSysTaskName = GetDataFromDict(internalThreadsData_[fileSamplingTableData_.Itids()[row]].nameIndex_); in ExportEbpfFileSystemReadableText() 575 auto pagedMemTaskName = GetDataFromDict(internalThreadsData_[pagedMemorySampleData_.Itids()[row]].nameIndex_); in ExportEbpfPagedMemReadableText() 605 auto bioTaskName = GetDataFromDict(internalThreadsData_[bioLatencySampleData_.Itids()[row]].nameIndex_); in ExportEbpfBIOReadableText()
|
/developtools/profiler/device/services/plugin_service/include/ |
H A D | plugin_service.h | 125 std::map<std::string, uint32_t> nameIndex_; member in PluginService
|
/developtools/profiler/hiebpf/src/ |
H A D | elf_file.cpp | 222 std::string secName = GetSectionName(shdr->nameIndex_); in ParseSecHeaders() 425 nameIndex_ = u4Buf[index]; in ParseSecHeader32() 452 nameIndex_ = u4Buf[index]; in ParseSecHeader64()
|
/developtools/profiler/hiebpf/include/ |
H A D | elf_file.h | 130 uint32_t nameIndex_; member in OHOS::Developtools::Hiebpf::SectionHeader
|
/developtools/smartperf_host/trace_streamer/src/table/ftrace/ |
H A D | thread_table.cpp | 168 const auto &name = dataCache_->GetDataFromDict(thread.nameIndex_); in SetNameColumn()
|
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/ |
H A D | common_stdtype.h | 35 DataIndex nameIndex_ = 0; member in SysTuning::TraceStdtype::Thread
|
/developtools/smartperf_host/trace_streamer/src/filter/hook_filter/ |
H A D | native_hook_filter.cpp | 1118 if (!thread->nameIndex_) { in UpdateThreadNameWithNativeHookData() 1121 thread->nameIndex_ = threadNameMapItor->second; in UpdateThreadNameWithNativeHookData()
|
/developtools/smartperf_host/trace_streamer/test/unittest/ptreader_parser/ |
H A D | event_parser_test.cpp | 467 auto threadNameIndex = stream_.traceDataCache_->GetThreadData(itid)->nameIndex_; in HWTEST_F()
|