Lines Matching refs:status
618 int child_exited = 0, status = 0; in dispatch_events() local
633 child_exited = waitpid(child_pid, &status, WNOHANG); in dispatch_events()
652 return status; in dispatch_events()
719 int status = 0; in __run_perf_stat() local
883 status = dispatch_events(forks, timeout, interval, ×); in __run_perf_stat()
887 wait4(child_pid, &status, 0, &stat_config.ru_data); in __run_perf_stat()
896 if (WIFSIGNALED(status)) in __run_perf_stat()
897 psignal(WTERMSIG(status), argv[0]); in __run_perf_stat()
900 status = dispatch_events(forks, timeout, interval, ×); in __run_perf_stat()
941 return WEXITSTATUS(status); in __run_perf_stat()
2057 int status = -EINVAL, run_idx; in cmd_stat() local
2339 status = 0; in cmd_stat()
2348 status = run_perf_stat(argc, argv, run_idx); in cmd_stat()
2349 if (forever && status != -1 && !interval) { in cmd_stat()
2355 if (!forever && status != -1 && (!interval || stat_config.summary)) in cmd_stat()
2410 return status; in cmd_stat()