Lines Matching refs:child_pid
156 static volatile pid_t child_pid = -1; variable
633 child_exited = waitpid(child_pid, &status, WNOHANG); in dispatch_events()
705 if (child_pid != -1) in stat_handle_error()
706 kill(child_pid, SIGTERM); in stat_handle_error()
732 child_pid = evsel_list->workload.pid; in __run_perf_stat()
884 if (child_pid != -1) { in __run_perf_stat()
886 kill(child_pid, SIGTERM); in __run_perf_stat()
887 wait4(child_pid, &status, 0, &stat_config.ru_data); in __run_perf_stat()
984 if ((child_pid == -1) || stat_config.interval) in skip_signal()
994 child_pid = -1; in skip_signal()
1011 if (child_pid != -1) in sig_atexit()
1012 kill(child_pid, SIGTERM); in sig_atexit()