Lines Matching refs:child_pid
176 static volatile pid_t child_pid = -1; variable
702 child_exited = waitpid(child_pid, &status, WNOHANG); in dispatch_events()
774 if (child_pid != -1) in stat_handle_error()
775 kill(child_pid, SIGTERM); in stat_handle_error()
800 child_pid = evsel_list->workload.pid; in __run_perf_stat()
969 if (child_pid != -1) { in __run_perf_stat()
971 kill(child_pid, SIGTERM); in __run_perf_stat()
972 wait4(child_pid, &status, 0, &stat_config.ru_data); in __run_perf_stat()
1076 if ((child_pid == -1) || stat_config.interval) in skip_signal()
1086 child_pid = -1; in skip_signal()
1103 if (child_pid != -1) in sig_atexit()
1104 kill(child_pid, SIGTERM); in sig_atexit()