Searched refs:wstatus (Results 1 – 6 of 6) sorted by relevance
/developtools/hiperf/test/unittest/common/native/ |
D | tracked_command_test.cpp | 61 int wstatus {0}; variable 62 res = trackedCMD->WaitCommand(wstatus); 85 int wstatus {0}; variable 86 res = trackedCMD->WaitCommand(wstatus);
|
/developtools/profiler/device/plugins/ftrace_plugin/src/ |
D | process_utils.cpp | 198 int wstatus = 0; in GetProcessExitCode() local 199 pid_t w = waitpid(pid, &wstatus, 0); in GetProcessExitCode() 204 if (WIFEXITED(wstatus)) { in GetProcessExitCode() 205 retval = WEXITSTATUS(wstatus); in GetProcessExitCode() 207 } else if (WIFSIGNALED(wstatus)) { in GetProcessExitCode() 209 HILOG_INFO(LOG_CORE, "process %d killed by signal %d\n", pid, WTERMSIG(wstatus)); in GetProcessExitCode()
|
/developtools/hiperf/src/ |
D | tracked_command.cpp | 174 bool TrackedCommand::WaitCommand(int &wstatus) in WaitCommand() argument 178 pid_t pid = waitpid(childPid_, &wstatus, WNOHANG); in WaitCommand() 194 int wstatus; in MakeInvalid() local 195 pid_t pid = waitpid(childPid_, &wstatus, WNOHANG); in MakeInvalid()
|
D | perf_events.cpp | 610 int wstatus; in EnableTracking() local 611 if (!trackedCommand_->WaitCommand(wstatus)) { in EnableTracking() 1438 int wstatus; in HaveTargetsExit() local 1439 if (trackedCommand_->WaitCommand(wstatus)) { in HaveTargetsExit()
|
/developtools/profiler/device/base/test/unittest/ |
D | epoll_event_poller_test.cpp | 206 int wstatus = 0; variable 207 waitpid(pid, &wstatus, 0);
|
/developtools/hiperf/include/ |
D | tracked_command.h | 39 bool WaitCommand(int &wstatus);
|