/linux/lib/ |
H A D | test-kstrtox.c | 45 #define TEST_OK(fn, type, fmt, test) \ macro 152 TEST_OK(kstrtoull, unsigned long long, "%llu", test_ull_ok); in test_kstrtoull_ok() 268 TEST_OK(kstrtoll, long long, "%lld", test_ll_ok); in test_kstrtoll_ok() 327 TEST_OK(kstrtou64, u64, "%llu", test_u64_ok); in test_kstrtou64_ok() 377 TEST_OK(kstrtos64, s64, "%lld", test_s64_ok); in test_kstrtos64_ok() 422 TEST_OK(kstrtou32, u32, "%u", test_u32_ok); in test_kstrtou32_ok() 472 TEST_OK(kstrtos32, s32, "%d", test_s32_ok); in test_kstrtos32_ok() 517 TEST_OK(kstrtou16, u16, "%hu", test_u16_ok); in test_kstrtou16_ok() 569 TEST_OK(kstrtos16, s16, "%hd", test_s16_ok); in test_kstrtos16_ok() 614 TEST_OK(kstrtou8, u8, "%hhu", test_u8_ok); in test_kstrtou8_ok() [all …]
|
/linux/tools/perf/arch/x86/tests/ |
H A D | hybrid.c | 33 return TEST_OK; in test__hybrid_hw_event_with_pmu() 52 return TEST_OK; in test__hybrid_hw_group_event() 69 return TEST_OK; in test__hybrid_sw_hw_group_event() 86 return TEST_OK; in test__hybrid_hw_sw_group_event() 109 return TEST_OK; in test__hybrid_group_modifier1() 123 return TEST_OK; in test__hybrid_raw1() 133 return TEST_OK; in test__hybrid_raw2() 143 return TEST_OK; in test__hybrid_cache_event() 163 return TEST_OK; in test__checkevent_pmu() 181 return TEST_OK; in test__hybrid_hw_group_event_2() [all …]
|
H A D | bp-modify.c | 128 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify1() 204 return rip == (unsigned long) bp_1 ? TEST_OK : TEST_FAIL; in bp_modify2()
|
H A D | amd-ibs-via-core-pmu.c | 44 int ret = TEST_OK; in test__amd_ibs_via_core_pmu()
|
/linux/tools/perf/tests/ |
H A D | symbols.c | 35 return TEST_OK; in init_test_info() 93 return TEST_OK; in create_map() 106 return TEST_OK; in create_map() 113 int ret = TEST_OK; in test_dso() 149 if (test_dso(dso) != TEST_OK) in subdivided_dso_cb() 161 return ret < 0 ? TEST_FAIL : TEST_OK; in process_subdivided_dso() 173 if (ret != TEST_OK) in test_file() 193 if (ret == TEST_OK && dso__kernel(dso) != DSO_SPACE__USER) in test_file() 208 if (ret != TEST_OK) in test__symbols()
|
H A D | backward-ring-buffer.c | 59 return TEST_OK; in count_samples() 143 if (err != TEST_OK) in test__backward_ring_buffer() 162 if (err != TEST_OK) in test__backward_ring_buffer() 165 ret = TEST_OK; in test__backward_ring_buffer()
|
H A D | evsel-roundtrip-name.c | 11 int ret = TEST_OK; in perf_evsel__roundtrip_cache_name_test() 54 int ret = TEST_OK; in perf_evsel__name_array_test() 87 int err = 0, ret = TEST_OK; in test__perf_evsel__roundtrip_name_test()
|
H A D | hwmon_pmu.c | 173 ret = TEST_OK; in do_test() 213 int ret = TEST_OK; in test__hwmon_pmu() 221 if (ret != TEST_OK) in test__hwmon_pmu() 226 if (ret != TEST_OK) in test__hwmon_pmu() 336 return TEST_OK; in test__parse_hwmon_filename()
|
H A D | maps.c | 71 return failed ? TEST_FAIL : TEST_OK; in check_maps() 162 return TEST_OK; in test__maps__merge_in()
|
H A D | perf-time-to-tsc.c | 57 return TEST_OK; in test__tsc_is_supported() 199 err = TEST_OK; in test__perf_time_to_tsc()
|
H A D | unit_number__scnprintf.c | 39 return TEST_OK; in test__unit_number__scnprint()
|
H A D | perf-hooks.c | 46 return TEST_OK; in test__perf_hooks()
|
H A D | is_printable_array.c | 37 return TEST_OK; in test__is_printable_array()
|
H A D | dlfilter-test.c | 201 return TEST_OK; in write_sample() 376 if (write_sample(td, sample_type, id, pid, tid) != TEST_OK) in test__dlfilter_test() 386 return TEST_OK; in test__dlfilter_test()
|
H A D | demangle-ocaml-test.c | 12 int ret = TEST_OK; in test__demangle_ocaml()
|
H A D | openat-syscall.c | 64 err = TEST_OK; in test__openat_syscall_event()
|
H A D | pe-file-parsing.c | 69 return TEST_OK; in run_dir()
|
H A D | sdt.c | 24 return TEST_OK; in target_function()
|
H A D | bp_signal_overflow.c | 140 return fails ? TEST_FAIL : TEST_OK; in test__bp_signal_overflow()
|
H A D | openat-syscall-all-cpus.c | 93 err = TEST_OK; in test__openat_syscall_event_on_all_cpus()
|
H A D | event_groups.c | 131 ret = TEST_OK; in test__event_groups()
|
H A D | bp_signal.c | 291 TEST_OK : TEST_FAIL; in test__bp_signal()
|
H A D | expand-cgroup.c | 92 ret = TEST_OK; in test_expand_events()
|
H A D | sigtrap.c | 183 return TEST_OK; in test_thread()
|
/linux/tools/perf/arch/arm/tests/ |
H A D | vectors-page.c | 22 return TEST_OK; in test__vectors_page()
|