Lines Matching refs:child_pid
176 static volatile pid_t child_pid = -1; variable
682 child_exited = waitpid(child_pid, &status, WNOHANG); in dispatch_events()
754 if (child_pid != -1) in stat_handle_error()
755 kill(child_pid, SIGTERM); in stat_handle_error()
781 child_pid = evsel_list->workload.pid; in __run_perf_stat()
959 if (child_pid != -1) { in __run_perf_stat()
961 kill(child_pid, SIGTERM); in __run_perf_stat()
962 wait4(child_pid, &status, 0, &stat_config.ru_data); in __run_perf_stat()
1059 if ((child_pid == -1) || stat_config.interval) in skip_signal()
1069 child_pid = -1; in skip_signal()
1086 if (child_pid != -1) in sig_atexit()
1087 kill(child_pid, SIGTERM); in sig_atexit()