| /base/hiviewdfx/faultloggerd/test/funchook/ |
| H A D | dfx_func_hook_unittest.cpp | 64 int ret = waitpid(pid, &status, 0); in HWTEST_F() 97 int ret = waitpid(pid, &status, 0); in HWTEST_F()
|
| /base/hiviewdfx/faultloggerd/test/unittest/faultloggerd_client/ |
| H A D | faultloggerd_client_test.cpp | 128 bool isSuccess = waitpid(pid, &status, 0) != -1; in HWTEST_F() 168 bool isSuccess = waitpid(pid, &status, 0) != -1; in HWTEST_F() 217 bool isSuccess = waitpid(pid, &status, 0) != -1; in HWTEST_F() 263 bool isSuccess = waitpid(pid, &status, 0) != -1; in HWTEST_F() 308 bool isSuccess = waitpid(pid, &status, 0) != -1; in HWTEST_F() 448 bool isSuccess = waitpid(pid, &status, 0) != -1; in HWTEST_F()
|
| /base/hiviewdfx/hiview/framework/native/unified_collection/collector/ |
| H A D | hiebpf_collector_impl.cpp | 53 if (waitpid(childPid, nullptr, 0) != childPid) {
in StartHiebpf() 54 HIVIEW_LOGE("waitpid fail, pid: = %{public}d, errno = %{public}d", childPid, errno);
in StartHiebpf() 56 HIVIEW_LOGE("waitpid success, pid: = %{public}d", childPid);
in StartHiebpf() 74 if (waitpid(childPid, nullptr, 0) != childPid) {
in StopHiebpf() 75 HIVIEW_LOGE("waitpid fail, pid: = %{public}d, errno = %{public}d", childPid, errno);
in StopHiebpf() 77 HIVIEW_LOGE("waitpid success, pid: = %{public}d", childPid);
in StopHiebpf()
|
| H A D | hilog_collector_impl.cpp | 86 if (waitpid(childPid, nullptr, 0) != childPid) { in CollectLastLog() 87 HIVIEW_LOGE("waitpid fail, pid: %{public}d, errno: %{public}d", childPid, errno); in CollectLastLog() 89 HIVIEW_LOGI("waitpid %{public}d success", childPid); in CollectLastLog()
|
| /base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
| H A D | open_stacktrace_catcher.cpp | 87 if (waitpid(pid, NULL, WNOHANG) != 0) { in WaitChildPid() 114 pid_t p = waitpid(pid, &status, WNOHANG); in ForkAndDumpStackTrace()
|
| H A D | shell_catcher.cpp | 186 if (waitpid(childPid, nullptr, 0) != childPid) {
in ReadShellToFile() 187 HIVIEW_LOGE("waitpid fail, pid: %{public}d, errno: %{public}d", childPid, errno);
in ReadShellToFile() 190 HIVIEW_LOGI("waitpid %{public}d success", childPid);
in ReadShellToFile()
|
| H A D | peer_binder_catcher.cpp | 383 waitpid(child, nullptr, 0); in ForkToDumpHiperf()
|
| /base/startup/init/services/init/lite/ |
| H A D | init_signal_handler.c | 54 sigPID = waitpid(-1, &procStat, WNOHANG);
in SigHandler()
|
| /base/startup/appspawn/lite/ |
| H A D | main.c | 38 sigPID = waitpid(-1, &procStat, WNOHANG); in SignalHandler()
|
| /base/hiviewdfx/hiview/adapter/plugins/eventlogger/log_catcher/impl/ |
| H A D | log_catcher_utils.cpp | 183 int ret = waitpid(childPid, nullptr, WNOHANG); in ReadShellToFile() 187 ret = waitpid(childPid, nullptr, WNOHANG); in ReadShellToFile() 196 while (retryCount > 0 && waitpid(childPid, nullptr, WNOHANG) == 0) { in ReadShellToFile()
|
| /base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
| H A D | dfx_ptrace.cpp | 61 if (waitpid(tid, nullptr, WNOHANG) > 0) { in Attach()
|
| /base/startup/init/services/init/standard/ |
| H A D | init_signal_handler.c | 33 pid_t sigPID = waitpid(-1, &procStat, WNOHANG);
in HandleSigChild()
|
| /base/hiviewdfx/faultloggerd/test/utils/ |
| H A D | dfx_test_util.h | 65 waitpid(pid, nullptr, 0); in Kill()
|
| /base/hiviewdfx/hiview/base/utility/ |
| H A D | common_utils.cpp | 110 waitpid(pid, &status, WNOHANG); in ExecCommand() 228 pid_t p = waitpid(pid, &status, WNOHANG); in WriteCommandResultToFile()
|
| /base/hiviewdfx/faultloggerd/test/benchmarktest/unwindstack/ |
| H A D | pid_utils.cpp | 42 pid_t waitPid = waitpid(pid, &status, WNOHANG); in Exited()
|
| /base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/ |
| H A D | dfx_dumprequest.c | 322 ret = waitpid(childPid, &status, WNOHANG); in WaitProcessExit() 428 if (waitpid(pid, NULL, 0) <= 0) { in StartProcessdump() 464 if (waitpid(pid, NULL, 0) <= 0) { in StartVMProcessUnwind()
|
| /base/startup/appspawn/interfaces/innerkits/hnp/src/ |
| H A D | hnp_api.c | 129 if (waitpid(pid, &status, 0) == -1) {
in StartHnpProcess()
|
| /base/hiviewdfx/hiview/plugins/usage_event_report/ |
| H A D | usage_event_report.cpp | 316 if (waitpid(pid, nullptr, 0) != pid) {
in StartServiceByOption() 317 HIVIEW_LOGE("failed to waitpid, pid=%{public}d, err=%{public}d", pid, errno);
in StartServiceByOption() 319 HIVIEW_LOGI("succ to waitpid, pid=%{public}d", pid);
in StartServiceByOption()
|
| /base/inputmethod/imf/test/unittest/cpp_test/src/ |
| H A D | input_method_ext_seccomp_test.cpp | 147 if (waitpid(pid, &status, 0) != pid) {
in CheckSyscall() 148 std::cout << "waitpid failed:" << strerror(errno) << std::endl;
in CheckSyscall()
|
| /base/hiviewdfx/faultloggerd/test/unittest/signal_handler/ |
| H A D | signal_chain_test.cpp | 219 int ret = waitpid(pid, &status, 0); in KillAndWaitPid() 220 GTEST_LOG_(INFO) << "waitpid: " << pid << ", ret: "<< ret << std::endl; in KillAndWaitPid() 604 waitpid(pid, &status, 0); in HWTEST_F()
|
| /base/hiviewdfx/faultloggerd/test/unittest/services/ |
| H A D | faultlogger_daemon_test.cpp | 283 bool isSuccess = waitpid(pid, &status, 0) != -1; in HWTEST_F() 360 bool isSuccess = waitpid(pid, &status, 0) != -1; in HWTEST_F() 434 bool isSuccess = waitpid(pid, &status, 0) != -1; in HWTEST_F()
|
| /base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
| H A D | ark_test.cpp | 217 bool isSuccess = waitpid(pid, &status, 0) != -1;
in HWTEST_F()
|
| /base/security/selinux_adapter/framework/policycoreutils/src/ |
| H A D | load_policy.cpp | 239 if (waitpid(pid, &status, 0) < 0) { in WaitForChild()
|
| /base/startup/init/remount/ |
| H A D | remount_overlay.c | 82 waitpid(pid, &status, 0);
in ExecCommand()
|
| /base/update/updater/services/fs_manager/ |
| H A D | mount.cpp | 139 if (waitpid(child, &status, 0) < 0) { in MountNtfsWithRetry() 140 LOG(ERROR) << "waitpid failed, " << child; in MountNtfsWithRetry()
|