Searched refs:test_pid (Results 1 - 5 of 5) sorted by relevance
/third_party/ltp/testcases/lib/ |
H A D | tst_cgctl.c | 15 fprintf(stderr, "Usage: tst_cgctl require [controller] [test_pid]\n\tcleanup [config (output of tst_cg_print_config)]\n\tprint\n\thelp\n"); in cgctl_usage() 18 static int cgctl_require(const char *ctrl, int test_pid) in cgctl_require() argument 23 opts.test_pid = test_pid; in cgctl_require() 50 int test_pid; in main() local 59 test_pid = atoi(argv[3]); in main() 60 if (!test_pid) { in main() 61 fprintf(stderr, "tst_cgctl: Invalid test_pid '%s' given\n", in main() 65 return cgctl_require(argv[2], test_pid); in main()
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/ |
H A D | cpuset_memory_spread_testset.sh | 200 # <expect_nodes> <test_pid> 209 local test_pid="$5" 225 /bin/echo "$test_pid" > "$cpusetpath/tasks" 2> $CPUSET_TMP/stderr 242 /bin/kill -s SIGUSR1 $test_pid
|
/third_party/ltp/lib/ |
H A D | tst_test.c | 1487 static pid_t test_pid; variable 1501 kill(-test_pid, SIGKILL); in alarm_handler() 1520 if (test_pid > 0) { in sigint_handler() 1522 kill(-test_pid, SIGKILL); in sigint_handler() 1597 test_pid = fork(); in fork_testrun() 1598 if (test_pid < 0) in fork_testrun() 1601 if (!test_pid) { in fork_testrun() 1611 SAFE_WAITPID(test_pid, &status, 0); in fork_testrun() 1621 if (tst_test->forks_child && kill(-test_pid, SIGKILL) == 0) in fork_testrun()
|
H A D | tst_cgroup.c | 898 if (options->test_pid) in tst_cg_require() 899 sprintf(cgroup_test_dir, "test-%d", options->test_pid); in tst_cg_require()
|
/third_party/ltp/include/ |
H A D | tst_cgroup.h | 106 int test_pid; member
|
Completed in 6 milliseconds