Home
last modified time | relevance | path

Searched refs:nameIndex_ (Results 1 - 16 of 16) sorted by relevance

/developtools/profiler/device/services/profiler_service/test/unittest/
H A Dplugin_service_stubs.cpp224 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 Dplugin_service.cpp315 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 Dprocess_filter.cpp73 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 Dapp_start_filter.cpp90 if (item.first == threadData[i].nameIndex_) { in UpdatePidByNameIndex()
215 thread->nameIndex_ = dataIndex; in ProcAbilityLaunchData()
230 auto nameindex = threadData[callId].nameIndex_; in ProcForegroundData()
H A Dbinder_filter.cpp82 const auto destThreadName = traceDataCache_->GetConstThreadData(dstItid).nameIndex_; in SendTraction()
111 const auto threadName = traceDataCache_->GetConstThreadData(internalTid).nameIndex_; in ReceiveTraction()
H A Dcpu_filter.cpp345 thread->tid_, traceDataCache_->GetDataFromDict(thread->nameIndex_), thread->startT_); in UpdateProcessData()
/developtools/smartperf_host/trace_streamer/test/unittest/filter/
H A Dprocess_filter_test.cpp188 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 Dtrace_data_cache_base.cpp46 thread.nameIndex_ = dataDict_.GetStringIndex(ZERO_THREAD_NAME); in UpdataZeroThreadInfo()
H A Dtrace_data_cache.cpp360 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 Dplugin_service.h125 std::map<std::string, uint32_t> nameIndex_; member in PluginService
/developtools/profiler/hiebpf/src/
H A Delf_file.cpp222 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 Delf_file.h130 uint32_t nameIndex_; member in OHOS::Developtools::Hiebpf::SectionHeader
/developtools/smartperf_host/trace_streamer/src/table/ftrace/
H A Dthread_table.cpp168 const auto &name = dataCache_->GetDataFromDict(thread.nameIndex_); in SetNameColumn()
/developtools/smartperf_host/trace_streamer/src/trace_data/trace_stdtype/
H A Dcommon_stdtype.h35 DataIndex nameIndex_ = 0; member in SysTuning::TraceStdtype::Thread
/developtools/smartperf_host/trace_streamer/src/filter/hook_filter/
H A Dnative_hook_filter.cpp1118 if (!thread->nameIndex_) { in UpdateThreadNameWithNativeHookData()
1121 thread->nameIndex_ = threadNameMapItor->second; in UpdateThreadNameWithNativeHookData()
/developtools/smartperf_host/trace_streamer/test/unittest/ptreader_parser/
H A Devent_parser_test.cpp467 auto threadNameIndex = stream_.traceDataCache_->GetThreadData(itid)->nameIndex_; in HWTEST_F()

Completed in 14 milliseconds