/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace.h | 30 #define TEST_FAIL 1 macro 67 return TEST_FAIL; in start_trace() 72 return TEST_FAIL; in start_trace() 84 return TEST_FAIL; in stop_trace() 96 return TEST_FAIL; in cont_trace() 149 return TEST_FAIL; in show_tar_registers() 182 return TEST_FAIL; in show_tar_registers() 195 return TEST_FAIL; in write_tar_registers() 226 return TEST_FAIL; in write_tar_registers() 238 return TEST_FAIL; in show_tm_checkpointed_state() [all …]
|
D | ptrace-vsx.h | 21 return TEST_FAIL; in validate_vsx() 45 return TEST_FAIL; in validate_vmx() 59 return TEST_FAIL; in validate_vmx() 79 return TEST_FAIL; in compare_vsx_vmx() 88 return TEST_FAIL; in compare_vsx_vmx() 96 return TEST_FAIL; in compare_vsx_vmx() 101 return TEST_FAIL; in compare_vsx_vmx()
|
D | core-pkey.c | 170 return TEST_FAIL; in child() 182 return TEST_FAIL; in try_core_file() 185 return buf.st_mtime >= info->core_time ? buf.st_size : TEST_FAIL; in try_core_file() 283 return TEST_FAIL; in parent() 286 return TEST_FAIL; in parent() 294 return TEST_FAIL; in parent() 299 ret = TEST_FAIL; in parent() 306 ret = TEST_FAIL; in parent() 313 if (core_size != TEST_FAIL) in parent() 319 ret = TEST_FAIL; in parent() [all …]
|
D | ptrace-gpr.h | 34 return TEST_FAIL; in validate_gpr() 51 return TEST_FAIL; in validate_fpr() 68 return TEST_FAIL; in validate_fpr_float()
|
D | ptrace-gpr.c | 81 return TEST_FAIL; in ptrace_gpr() 96 return TEST_FAIL; in ptrace_gpr() 106 return TEST_FAIL; in ptrace_gpr() 109 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_gpr()
|
D | ptrace-vsx.c | 77 return TEST_FAIL; in ptrace_vsx() 93 return TEST_FAIL; in ptrace_vsx() 103 return TEST_FAIL; in ptrace_vsx() 106 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_vsx()
|
D | ptrace-tm-gpr.c | 121 return TEST_FAIL; in ptrace_tm_gpr() 134 return TEST_FAIL; in ptrace_tm_gpr() 143 return TEST_FAIL; in ptrace_tm_gpr() 146 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_gpr()
|
D | ptrace-tm-spr.c | 123 return TEST_FAIL; in ptrace_tm_spr() 142 return TEST_FAIL; in ptrace_tm_spr() 152 return TEST_FAIL; in ptrace_tm_spr() 155 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_spr()
|
D | ptrace-tm-spd-gpr.c | 127 return TEST_FAIL; in ptrace_tm_spd_gpr() 145 return TEST_FAIL; in ptrace_tm_spd_gpr() 154 return TEST_FAIL; in ptrace_tm_spd_gpr() 157 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_spd_gpr()
|
D | ptrace-tm-vsx.c | 128 return TEST_FAIL; in ptrace_tm_vsx() 144 return TEST_FAIL; in ptrace_tm_vsx() 152 return TEST_FAIL; in ptrace_tm_vsx() 155 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_vsx()
|
D | ptrace-tm-spd-vsx.c | 145 return TEST_FAIL; in ptrace_tm_spd_vsx() 161 return TEST_FAIL; in ptrace_tm_spd_vsx() 169 return TEST_FAIL; in ptrace_tm_spd_vsx() 172 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_spd_vsx()
|
D | ptrace-tm-tar.c | 137 return TEST_FAIL; in ptrace_tm_tar() 145 return TEST_FAIL; in ptrace_tm_tar() 148 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_tar()
|
D | ptrace-tm-spd-tar.c | 150 return TEST_FAIL; in ptrace_tm_spd_tar() 159 return TEST_FAIL; in ptrace_tm_spd_tar() 162 return (WIFEXITED(status) && WEXITSTATUS(status)) ? TEST_FAIL : in ptrace_tm_spd_tar()
|
/tools/perf/arch/x86/tests/ |
D | bp-modify.c | 70 return TEST_FAIL; in bp_modify1() 109 return TEST_FAIL; in bp_modify1() 125 return TEST_FAIL; in bp_modify1() 128 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify1() 147 return TEST_FAIL; in bp_modify2() 185 return TEST_FAIL; in bp_modify2() 201 return TEST_FAIL; in bp_modify2() 204 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify2()
|
/tools/perf/tests/ |
D | bpf.c | 121 int i, ret = TEST_FAIL, err = 0, count = 0; in do_test() 134 return TEST_FAIL; in do_test() 145 return TEST_FAIL; in do_test() 235 return TEST_FAIL; in __test__bpf() 247 ret = TEST_FAIL; in __test__bpf() 262 ret = TEST_FAIL; in __test__bpf() 269 ret = TEST_FAIL; in __test__bpf() 273 ret = TEST_FAIL; in __test__bpf() 275 ret = TEST_FAIL; in __test__bpf() 332 return TEST_FAIL; in test__bpf()
|
D | dlfilter-test.c | 190 return test_result("perf_event__synthesize_sample() failed", TEST_FAIL); in write_sample() 194 return test_result("Failed to write sample", TEST_FAIL); in write_sample() 327 return test_result("Failed to get expected filter description", TEST_FAIL); in test__dlfilter_test() 335 return test_result("Failed to write test C file", TEST_FAIL); in test__dlfilter_test() 341 return TEST_FAIL; in test__dlfilter_test() 347 return test_result("Failed to find program symbols", TEST_FAIL); in test__dlfilter_test() 355 return test_result("Failed to create test perf.data file", TEST_FAIL); in test__dlfilter_test() 359 return test_result("perf_header__write_pipe() failed", TEST_FAIL); in test__dlfilter_test() 363 return test_result("perf_event__synthesize_attr() failed", TEST_FAIL); in test__dlfilter_test() 366 return TEST_FAIL; in test__dlfilter_test() [all …]
|
D | bp_signal_overflow.c | 53 return TEST_FAIL; in bp_count() 76 return TEST_FAIL; in test__bp_signal_overflow() 100 return TEST_FAIL; in test__bp_signal_overflow() 134 return fails ? TEST_FAIL : TEST_OK; in test__bp_signal_overflow()
|
D | genelf.c | 36 return TEST_FAIL; in test__jit_write_elf() 47 return ret ? TEST_FAIL : 0; in test__jit_write_elf()
|
D | perf-hooks.c | 40 return TEST_FAIL; in test__perf_hooks() 45 return TEST_FAIL; in test__perf_hooks()
|
D | bp_signal.c | 128 return TEST_FAIL; in __event() 158 return TEST_FAIL; in bp_count() 176 return TEST_FAIL; in test__bp_signal() 182 return TEST_FAIL; in test__bp_signal() 285 TEST_OK : TEST_FAIL; in test__bp_signal()
|
D | llvm.c | 18 return TEST_FAIL; in test__bpf_parsing() 58 int err, old_verbose, ret = TEST_FAIL; in test_llvm__fetch_bpf_obj() 61 return TEST_FAIL; in test_llvm__fetch_bpf_obj() 135 return TEST_FAIL; in test__llvm()
|
D | event-times.c | 50 return evlist__start_workload(evlist) == 1 ? TEST_OK : TEST_FAIL; in attach__enable_on_exec() 82 return evsel__enable(evsel) == 0 ? TEST_OK : TEST_FAIL; in attach__current_disabled() 102 return err == 0 ? TEST_OK : TEST_FAIL; in attach__current_enabled() 160 return err ? TEST_FAIL : TEST_OK; in attach__cpu_enabled() 210 return !err ? TEST_OK : TEST_FAIL; in test_times()
|
D | backward-ring-buffer.c | 54 return TEST_FAIL; in count_samples() 72 return TEST_FAIL; in do_test() 109 return TEST_FAIL; in test__backward_ring_buffer() 139 ret = TEST_FAIL; in test__backward_ring_buffer()
|
/tools/testing/selftests/kvm/x86_64/ |
D | vmx_close_while_nested_test.c | 80 TEST_FAIL("%s", (const char *)uc.args[0]); in main() 83 TEST_FAIL("Unknown ucall %lu", uc.cmd); in main()
|
D | svm_vmcall_test.c | 63 TEST_FAIL("%s", (const char *)uc.args[0]); in main() 70 TEST_FAIL("Unknown ucall 0x%lx.", uc.cmd); in main()
|