Home
last modified time | relevance | path

Searched refs:session (Results 1 – 23 of 23) sorted by relevance

/developtools/profiler/device/services/plugin_service/src/
Dplugin_session_manager.cpp61 …auto session = std::make_shared<PluginSession>(pluginConfig, bufferConfig, pluginService_, dataRep… in CreatePluginSession() local
62 CHECK_NOTNULL(session, nullptr, "allocate plugin session for %s failed!", name.c_str()); in CreatePluginSession()
63 CHECK_TRUE(session->IsAvailable(), nullptr, "config plugin for %s failed!", name.c_str()); in CreatePluginSession()
64 return session; in CreatePluginSession()
74 auto session = std::make_shared<PluginSession>(pluginConfig, pluginService_, dataRepeater); in CreatePluginSession() local
75 CHECK_NOTNULL(session, nullptr, "allocate plugin session for %s failed!", name.c_str()); in CreatePluginSession()
76 CHECK_TRUE(session->IsAvailable(), nullptr, "config plugin for %s failed!", name.c_str()); in CreatePluginSession()
77 return session; in CreatePluginSession()
89 auto session = CreatePluginSession(pluginConfigs[i], bufferConfigs[i], dataRepeater); in CreatePluginSessions() local
92 CHECK_NOTNULL(session, false, "create plugin-%zu session failed!", i); in CreatePluginSessions()
[all …]
/developtools/profiler/protos/services/
Dprofiler_service.proto30 // start tracing session, active server side tracing triggers.
33 // get server-side cached tracing data since current session started.
36 // stop tracing session, deactivate server side tracing triggers.
39 // destroy tracing session.
42 // keep tracing session alive, call this interface will restart session expire count down task.
Dcommon_types.proto33 LOADED = 2; // have created session.
34 IN_SESSION = 3; // have started session.
Dprofiler_service_types.proto57 …uint32 keep_alive_time = 6; // if set to non-zero value, session will auto-destroyed after CreateS…
58 …bool discard_cache_data = 7; // if set true, session will stop immediately.(cache data will be los…
/developtools/smartperf_host/trace_streamer/src/protos/services/
Dprofiler_service.proto30 // start tracing session, active server side tracing triggers.
33 // get server-side cached tracing data since current session started.
36 // stop tracing session, deactivate server side tracing triggers.
39 // destroy tracing session.
42 // keep tracing session alive, call this interface will restart session expire count down task.
Dcommon_types.proto32 LOADED = 2; // have created session.
33 IN_SESSION = 3; // have started session.
Dprofiler_service_types.proto57 …uint32 keep_alive_time = 6; // if set to non-zero value, session will auto-destroyed after CreateS…
58 …bool discard_cache_data = 7; // if set true, session will stop immediately.(cache data will be los…
/developtools/integration_verification/tools/fotff/utils/
Dssh.go62 session, err := client.NewSession()
79 session.Close()
82 stdin, err := session.StdinPipe()
87 stdout, err := session.StdoutPipe()
91 stderr, err := session.StderrPipe()
95 if err := session.Shell(); err != nil {
103 return session.Wait()
/developtools/hdc/src/host/
Dhost_uart.cpp649 void HdcHostUART::OnTransferError(const HSession session) in EnumSerialPort() argument
651 if (session != nullptr) { in EnumSerialPort()
652 WRITE_LOG(LOG_FATAL, "%s:%s", __FUNCTION__, session->ToDebugString().c_str()); in EnumSerialPort()
653 if (session->hUART != nullptr) { in EnumSerialPort()
654 if (IsDeviceOpened(*session->hUART)) { in EnumSerialPort()
657 server.EchoToClientsForSession(session->sessionId, echoStr); in EnumSerialPort()
664 CloseSerialPort(session->hUART); in EnumSerialPort()
665 UpdateUARTDaemonInfo(session->connectKey, session, STATUS_OFFLINE); in EnumSerialPort()
668 server.FreeSession(session->sessionId); in EnumSerialPort()
669 ClearUARTOutMap(session->sessionId); in EnumSerialPort()
[all …]
Dhost_uart.h49 virtual void OnTransferError(const HSession session) override;
51 virtual void Restartession(const HSession session) override;
/developtools/hdc/test/unittest/common/
Duart_test.cpp416 HdcSession session; variable
418 session.classInstance = &sessionBase;
419 auto loop = &session.childLoop;
420 auto tcp = &session.dataPipe[STREAM_WORK];
421 session.dataFd[STREAM_WORK] = rnd();
422 auto socket = session.dataFd[STREAM_WORK];
428 EXPECT_EQ(mockUARTBase.ReadyForWorkThread(&session), true);
432 EXPECT_EQ(mockUARTBase.ReadyForWorkThread(&session), false);
436 EXPECT_EQ(mockUARTBase.ReadyForWorkThread(&session), false);
486 HdcSession session; variable
[all …]
Dhost_uart_test.cpp820 EXPECT_CALL(mockHostUART, OnTransferError).WillRepeatedly(Invoke([&](const HSession session) { in __anon316535561102() argument
821 return mockHostUART.HdcHostUART::OnTransferError(session); in __anon316535561102()
/developtools/hdc/src/daemon/
Ddaemon_uart.cpp188 void HdcDaemonUART::OnTransferError(const HSession session) in OnTransferError() argument
191 if (session != nullptr) { in OnTransferError()
192 WRITE_LOG(LOG_FATAL, "%s %s", __FUNCTION__, session->ToDebugString().c_str()); in OnTransferError()
193 daemon.FreeSession(session->sessionId); in OnTransferError()
194 ClearUARTOutMap(session->sessionId); in OnTransferError()
Ddaemon_uart.h33 virtual void OnTransferError(const HSession session) override;
/developtools/hdc/scripts/
Dfile_path.cfg2 /src/common/session.h
/developtools/hdc/hdc_rust/src/host/
Dtask.rs144 let mut session = arc.lock().await; in channel_file_task() localVariable
146 session.map_tasks.entry(task_info.channel_id) in channel_file_task()
164 let task = session.map_tasks.get(&task_info.channel_id).unwrap(); in channel_file_task()
409 let mut session = arc.lock().await; in session_file_task() localVariable
410 if let std::collections::hash_map::Entry::Vacant(e) = session.map_tasks.entry(channel_id) { in session_file_task()
427 let task = session.map_tasks.get(&channel_id).unwrap(); in session_file_task()
/developtools/profiler/protos/types/plugins/ftrace_data/default/
Dtrace_plugin_config.proto30 …bool discard_cache_data = 31; // if set true, session will stop immediately.(cache data will be lo…
/developtools/smartperf_host/trace_streamer/src/protos/types/plugins/ftrace_data/default/
Dtrace_plugin_config.proto30 …bool discard_cache_data = 31; // if set true, session will stop immediately.(cache data will be lo…
/developtools/hdc/src/common/
Duart.cpp998 void HdcUARTBase::Restartession(const HSession session) in Restartession() argument
1000 if (session != nullptr) { in Restartession()
1001 WRITE_LOG(LOG_FATAL, "%s:%s", __FUNCTION__, session->ToDebugString().c_str()); in Restartession()
1002 ClearUARTOutMap(session->sessionId); in Restartession()
1003 sessionBase.FreeSession(session->sessionId); in Restartession()
Duart.h190 virtual void Restartession(const HSession session);
210 virtual void OnTransferError(const HSession session) = 0;
/developtools/hdc/
DBUILD.gn36 "src/common/session.cpp",
47 "src/common/session.h",
/developtools/hdc/test/
DBUILD.gn32 "${hdc_path}/src/common/session.cpp",
/developtools/profiler/hiebpf/include/
Dvmlinux.h8142 struct pid *session; member
64459 struct opal_session_info session; member
64463 struct opal_session_info session; member
64469 struct opal_session_info session; member