Lines Matching refs:exec
675 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "exec child semaphore");
707 T_ASSERT_POSIX_SUCCESS(kill(pid, SIGUSR1), "signaled pre-exec child to exec");
709 /* wait for a signal from post-exec child */
714 T_ASSERT_POSIX_SUCCESS(kill(pid, SIGKILL), "kill post-exec child %d", pid);
743 T_ASSERT_POSIX_SUCCESS(waitpid(pid, &status, 0), "waitpid on post-exec child");
864 T_HELPER_DECL(exec_child_preexec, "child process pre-exec")
874 // Parent took a timestamp then signaled us: exec into the next process
889 T_FAIL("Received signal to exec from parent");
892 T_HELPER_DECL(exec_child_postexec, "child process post-exec to sample")
900 T_DECL(exec, "test getting full task snapshots for a task that execs", T_META_TAG_VM_PREFERRED)
909 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "exec child semaphore");
937 …T_LOG("received signal from pre-exec child, unique_pid is %llu, timestamp is %llu", unique_pid, st…
939 T_ASSERT_POSIX_SUCCESS(kill(pid, SIGUSR1), "signaled pre-exec child to exec");
943 T_LOG("received signal from post-exec child, capturing stackshot");
946 .name = "exec",
956 T_ASSERT_POSIX_SUCCESS(kill(pid, SIGKILL), "kill post-exec child %d", pid);
957 T_ASSERT_POSIX_SUCCESS(waitpid(pid, &status, 0), "waitpid on post-exec child");
965 "test stackshots of processes in the middle of exec",
971 char *bash_prog = "[[ $PPID -ne 1 ]] && exec /bin/bash -c \"$0\" \"$0\"";
998 T_QUIET; T_ASSERT_POSIX_SUCCESS(kill(pid, SIGKILL), "killing exec loop");
999 T_ASSERT_TRUE(found, "able to find our execing process mid-exec in %d tries", tries);
1000 T_ASSERT_NE(cid1, cid2, "container IDs for in-progress exec are unique");
1001 T_PASS("found mid-exec process in %d tries", tries);
1599 T_QUIET; T_ASSERT_NOTNULL(child_ready_sem, "exec child semaphore");
2897 T_QUIET; T_ASSERT_NOTNULL(pid_num, "exec inprogress pid provided");
2899 T_QUIET; T_ASSERT_GT(exec_inprogress_pid, 0, "exec inprogress pid greater than zero");
2902 T_QUIET; T_ASSERT_NOTNULL(exec_inprogress_cb, "exec inprogress found callback provided");
3117 T_PASS("post-exec child %llu has a task snapshot", postexec_child_unique_pid);
3128 … T_FAIL("post-exec child %llu shouldn't have a delta task snapshot", postexec_child_unique_pid);
3228 T_LOG("found exec task with pid %d, instance %d", pid, exec_inprogress_found);
3511 T_QUIET; T_ASSERT_TRUE(found_postexec_child, "found post-exec child in kcdata");