Lines Matching refs:exec

558     T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "exec child semaphore");
590 T_ASSERT_POSIX_SUCCESS(kill(pid, SIGUSR1), "signaled pre-exec child to exec");
596 T_ASSERT_POSIX_SUCCESS(kill(pid, SIGKILL), "kill post-exec child %d", pid);
625 T_ASSERT_POSIX_SUCCESS(waitpid(pid, &status, 0), "waitpid on post-exec child");
744 T_HELPER_DECL(exec_child_preexec, "child process pre-exec")
754 // Parent took a timestamp then signaled us: exec into the next process
769 T_FAIL("Received signal to exec from parent");
772 T_HELPER_DECL(exec_child_postexec, "child process post-exec to sample")
780 T_DECL(exec, "test getting full task snapshots for a task that execs")
789 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "exec child semaphore");
817 …T_LOG("received signal from pre-exec child, unique_pid is %llu, timestamp is %llu", unique_pid, st…
819 T_ASSERT_POSIX_SUCCESS(kill(pid, SIGUSR1), "signaled pre-exec child to exec");
823 T_LOG("received signal from post-exec child, capturing stackshot");
826 .name = "exec",
836 T_ASSERT_POSIX_SUCCESS(kill(pid, SIGKILL), "kill post-exec child %d", pid);
837 T_ASSERT_POSIX_SUCCESS(waitpid(pid, &status, 0), "waitpid on post-exec child");
843 T_DECL(exec_inprogress, "test stackshots of processes in the middle of exec")
847 char *bash_prog = "[[ $PPID -ne 1 ]] && exec /bin/bash -c \"$0\" \"$0\"";
874 T_QUIET; T_ASSERT_POSIX_SUCCESS(kill(pid, SIGKILL), "killing exec loop");
875 T_ASSERT_TRUE(found, "able to find our execing process mid-exec in %d tries", tries);
876 T_ASSERT_NE(cid1, cid2, "container IDs for in-progress exec are unique");
877 T_PASS("found mid-exec process in %d tries", tries);
1378 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "exec child semaphore");
2235 T_QUIET; T_ASSERT_NOTNULL(pid_num, "exec inprogress pid provided");
2237 T_QUIET; T_ASSERT_GT(exec_inprogress_pid, 0, "exec inprogress pid greater than zero");
2240 T_QUIET; T_ASSERT_NOTNULL(exec_inprogress_cb, "exec inprogress found callback provided");
2420 T_PASS("post-exec child %llu has a task snapshot", postexec_child_unique_pid);
2431 … T_FAIL("post-exec child %llu shouldn't have a delta task snapshot", postexec_child_unique_pid);
2527 T_LOG("found exec task with pid %d, instance %d", pid, exec_inprogress_found);
2739 T_QUIET; T_ASSERT_TRUE(found_postexec_child, "found post-exec child in kcdata");