Lines Matching refs:child_pid
176 static volatile pid_t child_pid = -1; variable
670 child_exited = waitpid(child_pid, &status, WNOHANG); in dispatch_events()
742 if (child_pid != -1) in stat_handle_error()
743 kill(child_pid, SIGTERM); in stat_handle_error()
769 child_pid = evsel_list->workload.pid; in __run_perf_stat()
935 if (child_pid != -1) { in __run_perf_stat()
937 kill(child_pid, SIGTERM); in __run_perf_stat()
938 wait4(child_pid, &status, 0, &stat_config.ru_data); in __run_perf_stat()
1036 if ((child_pid == -1) || stat_config.interval) in skip_signal()
1046 child_pid = -1; in skip_signal()
1063 if (child_pid != -1) in sig_atexit()
1064 kill(child_pid, SIGTERM); in sig_atexit()