Lines Matching refs:exec
561 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "exec child semaphore");
593 T_ASSERT_POSIX_SUCCESS(kill(pid, SIGUSR1), "signaled pre-exec child to exec");
599 T_ASSERT_POSIX_SUCCESS(kill(pid, SIGKILL), "kill post-exec child %d", pid);
628 T_ASSERT_POSIX_SUCCESS(waitpid(pid, &status, 0), "waitpid on post-exec child");
747 T_HELPER_DECL(exec_child_preexec, "child process pre-exec")
757 // Parent took a timestamp then signaled us: exec into the next process
772 T_FAIL("Received signal to exec from parent");
775 T_HELPER_DECL(exec_child_postexec, "child process post-exec to sample")
783 T_DECL(exec, "test getting full task snapshots for a task that execs")
792 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "exec child semaphore");
820 …T_LOG("received signal from pre-exec child, unique_pid is %llu, timestamp is %llu", unique_pid, st…
822 T_ASSERT_POSIX_SUCCESS(kill(pid, SIGUSR1), "signaled pre-exec child to exec");
826 T_LOG("received signal from post-exec child, capturing stackshot");
829 .name = "exec",
839 T_ASSERT_POSIX_SUCCESS(kill(pid, SIGKILL), "kill post-exec child %d", pid);
840 T_ASSERT_POSIX_SUCCESS(waitpid(pid, &status, 0), "waitpid on post-exec child");
846 T_DECL(exec_inprogress, "test stackshots of processes in the middle of exec")
850 char *bash_prog = "[[ $PPID -ne 1 ]] && exec /bin/bash -c \"$0\" \"$0\"";
877 T_QUIET; T_ASSERT_POSIX_SUCCESS(kill(pid, SIGKILL), "killing exec loop");
878 T_ASSERT_TRUE(found, "able to find our execing process mid-exec in %d tries", tries);
879 T_ASSERT_NE(cid1, cid2, "container IDs for in-progress exec are unique");
880 T_PASS("found mid-exec process in %d tries", tries);
1382 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "exec child semaphore");
2238 T_QUIET; T_ASSERT_NOTNULL(pid_num, "exec inprogress pid provided");
2240 T_QUIET; T_ASSERT_GT(exec_inprogress_pid, 0, "exec inprogress pid greater than zero");
2243 T_QUIET; T_ASSERT_NOTNULL(exec_inprogress_cb, "exec inprogress found callback provided");
2423 T_PASS("post-exec child %llu has a task snapshot", postexec_child_unique_pid);
2434 … T_FAIL("post-exec child %llu shouldn't have a delta task snapshot", postexec_child_unique_pid);
2530 T_LOG("found exec task with pid %d, instance %d", pid, exec_inprogress_found);
2744 T_QUIET; T_ASSERT_TRUE(found_postexec_child, "found post-exec child in kcdata");