/tools/testing/selftests/exec/ |
D | execveat.c | 152 int fail = 0; in check_execveat_pathmax() local 185 fail += check_execveat(fd, "", AT_EMPTY_PATH); in check_execveat_pathmax() 189 fail++; in check_execveat_pathmax() 203 fail += check_execveat_invoked_rc(dot_dfd, longpath, 0, in check_execveat_pathmax() 206 fail += check_execveat(dot_dfd, longpath, 0); in check_execveat_pathmax() 208 return fail; in check_execveat_pathmax() 213 int fail = 0; in run_tests() local 250 fail += check_execveat(subdir_dfd, "../execveat", 0); in run_tests() 251 fail += check_execveat(dot_dfd, "execveat", 0); in run_tests() 252 fail += check_execveat(dot_dfd_path, "execveat", 0); in run_tests() [all …]
|
/tools/testing/selftests/ftrace/test.d/ftrace/ |
D | func_traceonoff_triggers.tc | 27 fail() { # mesg 49 fail "Found junk in trace" 62 fail "Nothing found in trace" 91 fail "Did not find traceoff trigger" 99 fail "Tracing is not stopped" 104 fail "Tracing is not off" 112 fail "Tracing file is still changing" 119 fail "Tracing is still happeing" 126 fail "traceoff trigger still exists" 131 fail "Tracing is started again" [all …]
|
D | func_set_ftrace_file.tc | 26 fail() { # mesg 82 fail "Expected only $ALL_FUNCS" 87 fail "Expected $ALL_FUNCS and $FUNC1:traceoff:unlimited" 92 fail "Expected $FUNC1 and $FUNC1:traceoff:unlimited" 97 fail "Expected $FUNC1 $FUNC2 and $FUNC1:traceoff:unlimited" 102 fail "Expected $FUNC1 $FUNC2 $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited" 107 fail "Expected $FUNC1 $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited" 112 fail "Expected $ALL_FUNCS $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited" 118 fail "Expected $ALL_FUNCS" 123 fail "Expected $FUNC1" [all …]
|
D | fgraph-filter-stack.tc | 28 fail() { # msg 41 fail "can not enable schedule filter" 65 fail "Graph filtering not working with stack tracer?" 71 fail "No schedule traces found?" 82 fail "Graph filtering not working after stack tracer disabled?" 87 fail "No schedule traces found?"
|
D | fgraph-filter.tc | 18 fail() { # msg 31 fail "can not enable schedule filter" 42 fail "Graph filtering not working by itself?" 48 fail "No schedule traces found?"
|
D | func_profiler.tc | 31 fail() { # mesg 59 fail "more than schedule was found" 65 fail "can not find schedule in trace" 76 fail "no other functions besides schedule was found"
|
D | func-filter-pid.tc | 51 fail() { # msg 83 fail "PID filtering not working?" 104 fail "PID filtering not following fork?"
|
/tools/testing/selftests/powerpc/signal/ |
D | signal_tm.c | 30 static sig_atomic_t fail; variable 35 fail = 2; in signal_handler() 42 fail = 1; in signal_handler() 92 i, fail, rc, ret); in test_signal_tm() 95 while(!signaled && !fail) in test_signal_tm() 99 i, fail, rc, ret); in test_signal_tm() 100 FAIL_IF(fail); /* For the line number */ in test_signal_tm()
|
D | signal.c | 30 static sig_atomic_t fail; variable 37 fail = 1; in signal_handler() 72 while (!signaled && !fail) in test_signal() 92 i, fail, rc); in test_signal() 95 while (!signaled && !fail) in test_signal() 99 i, fail, rc); in test_signal()
|
/tools/testing/selftests/powerpc/tm/ |
D | tm-signal-context-chk-gpr.c | 40 static sig_atomic_t fail; variable 51 for (i = 0; i < NV_GPR_REGS && !fail; i++) { in signal_usr1() 52 fail = (ucp->uc_mcontext.gp_regs[i + 14] != gps[i]); in signal_usr1() 53 fail |= (tm_ucp->uc_mcontext.gp_regs[i + 14] != gps[i + NV_GPR_REGS]); in signal_usr1() 54 if (fail) in signal_usr1() 78 while (i < MAX_ATTEMPT && !fail) { in tm_signal_context_chk_gpr() 84 return fail; in tm_signal_context_chk_gpr()
|
D | tm-signal-context-chk-fpu.c | 46 static sig_atomic_t fail; variable 54 for (i = 0; i < NV_FPU_REGS && !fail; i++) { in signal_usr1() 55 fail = (ucp->uc_mcontext.fp_regs[i + 14] != fps[i]); in signal_usr1() 56 fail |= (tm_ucp->uc_mcontext.fp_regs[i + 14] != fps[i + NV_FPU_REGS]); in signal_usr1() 57 if (fail) in signal_usr1() 80 while (i < MAX_ATTEMPT && !fail) { in tm_signal_context_chk_fpu() 86 return fail; in tm_signal_context_chk_fpu()
|
D | tm-signal-context-chk-vmx.c | 41 static sig_atomic_t fail; variable 60 for (i = 0; i < NV_VMX_REGS && !fail; i++) { in signal_usr1() 61 fail = memcmp(ucp->uc_mcontext.v_regs->vrregs[i + 20], in signal_usr1() 63 fail |= memcmp(tm_ucp->uc_mcontext.v_regs->vrregs[i + 20], in signal_usr1() 66 if (fail) { in signal_usr1() 98 while (i < MAX_ATTEMPT && !fail) { in tm_signal_context_chk() 104 return fail; in tm_signal_context_chk()
|
D | tm-signal-context-chk-vsx.c | 41 static sig_atomic_t fail; variable 73 for (i = 0; i < NV_VSX_REGS && !fail; i++) { in signal_usr1() 76 fail = memcmp(vsc, &vss[i], sizeof(vector int)); in signal_usr1() 79 fail |= memcmp(vst, &vss[i + NV_VSX_REGS], sizeof(vector int)); in signal_usr1() 81 if (fail) { in signal_usr1() 113 while (i < MAX_ATTEMPT && !fail) { in tm_signal_context_chk() 119 return fail; in tm_signal_context_chk()
|
/tools/testing/selftests/ftrace/test.d/trigger/ |
D | trigger-multihist.tc | 12 fail() { #msg 44 fail "hist trigger on sched_process_fork did not work" 46 fail "hist trigger on sched_process_fork did not work" 49 fail "string key on sched_process_fork did not work" 58 fail "named event on sched_process_fork did not work" 65 fail "named event on sched_process_fork did not work" 68 test $diffs -eq 0 || fail "Same name histograms are not same"
|
D | trigger-hist.tc | 12 fail() { #msg 41 fail "hist trigger on sched_process_fork did not work" 43 fail "hist trigger on sched_process_fork did not work" 52 fail "compound keys on sched_process_fork did not work" 62 fail "string key on sched_process_fork did not work" 80 fail "sort param on sched_process_fork did not work"
|
D | trigger-hist-mod.tc | 12 fail() { #msg 42 fail "execname modifier on sched_process_fork did not work" 53 fail "hex modifier on sched_process_fork did not work" 62 fail "syscall modifier on raw_syscalls/sys_exit did not work" 72 fail "log2 modifier on kmem/kmalloc did not work"
|
D | trigger-traceonoff.tc | 11 fail() { #msg 35 fail "traceoff trigger on sched_process_fork did not work" 45 fail "traceoff trigger on sched_process_fork did not work"
|
D | trigger-eventonoff.tc | 12 fail() { #msg 42 fail "enable_event trigger on sched_process_fork did not work" 52 fail "disable_event trigger on sched_process_fork did not work"
|
/tools/testing/selftests/ftrace/test.d/event/ |
D | subsystem-enable.tc | 11 fail() { #msg 35 fail "at least fork, exec and exit events should be recorded" 46 fail "at least fork, exec and exit events should be recorded" 57 fail "any of scheduler events should not be recorded"
|
D | toplevel-enable.tc | 10 fail() { #msg 36 fail "none of events are recorded" 49 fail "none of events are recorded" 60 fail "any of events should not be recorded"
|
D | event-enable.tc | 11 fail() { #msg 35 fail "sched_switch events are not recorded" 46 fail "sched_switch events are not recorded" 57 fail "sched_switch events should not be recorded"
|
D | event-pid.tc | 13 fail() { #msg 42 fail "sched_switch events are not recorded" 56 fail "sched_switch events from other task are recorded" 69 fail "sched_switch events from other task are not recorded"
|
/tools/testing/selftests/ftrace/test.d/instances/ |
D | instance-event.tc | 10 fail() { # mesg 77 fail "foo still exists" 84 fail "foo still exists" 140 fail "instance $d still exists"
|
/tools/testing/selftests/powerpc/dscr/ |
D | dscr_default_test.c | 79 goto fail; in dscr_default() 108 goto fail; in dscr_default() 114 goto fail; in dscr_default() 119 fail: in dscr_default()
|
/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace.h | 123 goto fail; in show_tar_registers() 131 goto fail; in show_tar_registers() 139 goto fail; in show_tar_registers() 146 fail: in show_tar_registers() 171 goto fail; in write_tar_registers() 178 goto fail; in write_tar_registers() 185 goto fail; in write_tar_registers() 190 fail: in write_tar_registers() 213 goto fail; in show_tm_checkpointed_state() 221 goto fail; in show_tm_checkpointed_state() [all …]
|