Home
last modified time | relevance | path

Searched refs:pluginCtx (Results 1 – 4 of 4) sorted by relevance

/developtools/profiler/device/services/plugin_service/src/
Dplugin_service.cpp113 PluginContextPtr pluginCtx = nullptr; in CreatePluginSession() local
115 std::tie(pluginId, pluginCtx) = GetPluginContext(pluginName); in CreatePluginSession()
116 CHECK_NOTNULL(pluginCtx, false, "get PluginContext failed!"); in CreatePluginSession()
118 pluginCtx->profilerDataRepeater = dataRepeater; in CreatePluginSession()
134 pluginCtx->shareMemoryBlock = smb; in CreatePluginSession()
135 pluginCtx->eventNotifier = notifier; in CreatePluginSession()
136 pluginCtx->profilerPluginState.set_state(ProfilerPluginState::LOADED); in CreatePluginSession()
138 pluginServiceImpl_->PushCommand(*pluginCtx->context, cmd); in CreatePluginSession()
140 pluginCtx->context->SendFileDescriptor(smb->GetfileDescriptor()); in CreatePluginSession()
141 pluginCtx->context->SendFileDescriptor(notifier->GetFd()); in CreatePluginSession()
[all …]
/developtools/profiler/device/services/profiler_service/test/unittest/
Dplugin_service_stubs.cpp135 PluginContextPtr pluginCtx = nullptr; in CreatePluginSession() local
137 std::tie(pluginId, pluginCtx) = GetPluginContext(pluginName); in CreatePluginSession()
138 CHECK_NOTNULL(pluginCtx, false, "create PluginContext failed!"); in CreatePluginSession()
140 pluginCtx->profilerDataRepeater = dataRepeater; in CreatePluginSession()
141 pluginCtx->shareMemoryBlock = nullptr; in CreatePluginSession()
143 pluginCtx->profilerPluginState.set_state(ProfilerPluginState::LOADED); in CreatePluginSession()
159 PluginContextPtr pluginCtx = nullptr; in StartPluginSession() local
161 std::tie(pluginId, pluginCtx) = GetPluginContext(pluginName); in StartPluginSession()
163 pluginCtx->profilerPluginState.set_state(ProfilerPluginState::IN_SESSION); in StartPluginSession()
171 PluginContextPtr pluginCtx = nullptr; in StopPluginSession() local
[all …]
/developtools/profiler/device/services/profiler_service/src/
Dprofiler_service.cpp611 PluginContextPtr pluginCtx = nullptr; in DestroySession() local
614 std::tie(pluginId, pluginCtx) = pluginService_->GetPluginContext(pluginName); in DestroySession()
615 if (pluginCtx->isStandaloneFileData == true) { in DestroySession()
620 … MergeStandaloneFile(file, pluginName, pluginCtx->outFileName, pluginCtx->pluginVersion); in DestroySession()
/developtools/profiler/device/services/plugin_service/test/unittest/
Dplugin_service_test.cpp155 PluginContextPtr pluginCtx = pluginService_->GetPluginContextById(pluginId); variable
156 pluginService_->ReadShareMemoryOffline(*pluginCtx);
1079 PluginContextPtr pluginCtx = pluginService_->GetPluginContextById(pluginId); variable
1080 pluginCtx->profilerPluginState.set_state(ProfilerPluginState::LOADED);
1081 pluginService_->ReadShareMemoryOnline(*pluginCtx);