Searched refs:fork (Results 1 - 25 of 276) sorted by relevance

1234567891011>>

/linux-master/tools/testing/selftests/cgroup/
H A Dtest_stress.sh4 ./with_stress.sh -s subsys -s fork ${OUTPUT:-.}/test_core
/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc-filter-pid.tc12 if [ ! -f options/function-fork ]; then
14 echo "no option for function-fork found. Option will not be tested."
20 # default value of function-fork option
21 orig_value=`grep function-fork trace_options`
49 echo nofunction-fork > trace_options
71 echo function-fork > trace_options
81 fail "PID filtering not following fork?"
H A Dfunc-filter-notrace-pid.tc11 if [ ! -f options/function-fork ]; then
13 echo "no option for function-fork found. Option will not be tested."
19 # default value of function-fork option
20 orig_value=`grep function-fork trace_options`
49 echo nofunction-fork > trace_options
71 echo function-fork > trace_options
86 fail "PID filtering not following fork? traced task = $count_pid; other tasks = $count_other "
/linux-master/tools/testing/selftests/ftrace/test.d/event/
H A Devent-pid.tc10 echo 0 > options/event-fork
20 echo 0 > options/event-fork
49 echo 1 > options/event-fork
H A Devent-no-pid.tc11 echo 0 > options/event-fork
64 echo 0 > options/event-fork
92 echo 1 > options/event-fork
/linux-master/tools/testing/selftests/powerpc/benchmarks/
H A DMakefile2 TEST_GEN_PROGS := gettimeofday context_switch fork mmap_bench futex_bench null_syscall
18 $(OUTPUT)/fork: LDLIBS += -lpthread
/linux-master/tools/testing/selftests/pid_namespace/
H A Dregression_enomem.c19 * 35f71bc0a09a ("fork: report pid reservation failure properly")
31 pid = fork();
39 pid = fork();
/linux-master/tools/testing/selftests/proc/
H A Dproc-loadavg-001.c36 pid = fork();
56 pid = fork();
H A Dproc-tid0.c47 pid = fork();
78 perror("fork");
H A Dsetns-dcache.c69 pid = fork();
/linux-master/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-stack.c40 pid = fork();
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dexhandler.c6 /* Test that verifies exception handling is working. fork()
33 cpid = fork();
34 if (!ASSERT_GT(cpid, -1, "fork failed"))
/linux-master/tools/perf/tests/workloads/
H A Dsqrtloop.c34 switch (fork()) {
/linux-master/tools/testing/selftests/powerpc/math/
H A Dvmx_syscall.c5 * This test attempts to see if the VMX registers change across a syscall (fork).
32 /* test_vmx will fork() */
59 pid = fork();
62 pid2 = fork();
67 * Couldn't fork, ensure child_ret is set and is a fail
H A Dfpu_syscall.c5 * This test attempts to see if the FPU registers change across a syscall (fork).
33 /* test_fpu will fork() */
53 pid_t pid = fork();
58 pid2 = fork();
62 * Couldn't fork, ensure test is a fail
/linux-master/tools/testing/selftests/riscv/vector/
H A Dvstate_exec_nolibc.c23 pid = fork();
25 puts("fork failed\n");
44 pid = fork();
46 puts("fork failed\n");
/linux-master/tools/testing/selftests/arm64/fp/
H A DMakefile13 za-fork za-ptrace
24 EXTRA_CLEAN += $(OUTPUT)/asm-utils.o $(OUTPUT)/rdvl.o $(OUTPUT)/za-fork-asm.o
42 $(OUTPUT)/za-fork: za-fork.c $(OUTPUT)/za-fork-asm.o
H A Dza-fork.c20 * If we fork the value in the parent should be unchanged and the
29 newpid = fork();
40 ksft_print_msg("fork() failed: %d\n", newpid);
/linux-master/tools/testing/selftests/powerpc/pmu/ebb/
H A Dfork_cleanup_test.c19 * Test that a fork clears the PMU state of the child. eg. BESCR/EBBHR/EBBRR
41 /* Tests that fork clears EBB state */
64 pid = fork();
71 /* After fork */
/linux-master/tools/testing/selftests/timers/
H A Dskew_consistency.c50 pid = fork();
/linux-master/tools/testing/selftests/powerpc/dscr/
H A Ddscr_inherit_test.c3 * POWER Data Stream Control Register (DSCR) fork test
42 pid = fork();
44 perror("fork() failed");
/linux-master/tools/testing/selftests/ptrace/
H A Dvmaccess.c26 int f, pid = fork();
48 int s, k, pid = fork();
/linux-master/tools/testing/selftests/perf_events/
H A Dremove_on_exec.c99 /* Verify event propagates to fork'd child. */
103 pid_t pid = fork();
118 * Verify that event does _not_ propagate to fork+exec'd child; event enabled
119 * after fork+exec.
131 pid_only_fork = fork();
139 pid_exec = fork();
169 * Verify that event does _not_ propagate to fork+exec'd child; event enabled
170 * before fork+exec.
179 pid_exec = fork();
204 pids[i] = fork();
[all...]
/linux-master/tools/perf/bench/
H A Dsyscall.c40 pid_t pid = fork();
43 fprintf(stderr, "fork failed\n");
59 pid_t pid = fork();
62 fprintf(stderr, "fork failed\n");
123 name = "fork()";
/linux-master/tools/testing/selftests/powerpc/signal/
H A Dsignal.c57 pid = fork();
59 perror("fork");
74 /* Otherwise we'll loop too fast and fork() will eventually fail */

Completed in 396 milliseconds

1234567891011>>