未验证 提交 a7a9c0f5 编写于 作者: O openharmony_ci 提交者: Gitee

!1338 新增打印进程退出info级别日志

Merge pull request !1338 from hw_mzyan/master
...@@ -46,6 +46,9 @@ static void ProcessSignal(const struct signalfd_siginfo *siginfo) ...@@ -46,6 +46,9 @@ static void ProcessSignal(const struct signalfd_siginfo *siginfo)
service == NULL ? "Unknown" : service->name, sigPID, WEXITSTATUS(procStat)); service == NULL ? "Unknown" : service->name, sigPID, WEXITSTATUS(procStat));
} }
CmdServiceProcessDelClient(sigPID); CmdServiceProcessDelClient(sigPID);
INIT_LOGI("SigHandler, SIGCHLD received, Service:%s pid:%d uid:%d status:%d.",
service == NULL ? "Unknown" : service->name,
sigPID, siginfo->ssi_uid, procStat);
CheckWaitPid(sigPID); CheckWaitPid(sigPID);
ServiceReap(service); ServiceReap(service);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册