/linux-6.3-rc2/lib/ |
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-6.3-rc2/tools/perf/tests/ |
A D | parse-events.c | 61 return TEST_OK; in test__checkevent_tracepoint() 79 return TEST_OK; in test__checkevent_tracepoint_multi() 90 return TEST_OK; in test__checkevent_raw() 100 return TEST_OK; in test__checkevent_numeric() 111 return TEST_OK; in test__checkevent_symbolic_name() 132 return TEST_OK; in test__checkevent_symbolic_name_config() 143 return TEST_OK; in test__checkevent_symbolic_alias() 153 return TEST_OK; in test__checkevent_genhw() 167 return TEST_OK; in test__checkevent_breakpoint() 180 return TEST_OK; in test__checkevent_breakpoint_x() [all …]
|
A D | symbols.c | 35 return TEST_OK; in init_test_info() 62 return TEST_OK; in create_map() 69 int ret = TEST_OK; in test_dso() 108 if (ret != TEST_OK) in test_file() 138 if (ret != TEST_OK) in test__symbols()
|
A 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() 225 if (err && (ret == TEST_OK || ret == TEST_SKIP)) \ in test__event_times()
|
A D | llvm.c | 20 return TEST_OK; in test__bpf_parsing() 118 ret = TEST_OK; in test_llvm__fetch_bpf_obj() 122 if (ret != TEST_OK) in test_llvm__fetch_bpf_obj() 140 if (ret == TEST_OK && !should_load_fail) { in test__llvm() 142 if (ret != TEST_OK) { in test__llvm()
|
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()
|
A D | maps.c | 33 return TEST_OK; in check_maps() 121 return TEST_OK; in test__maps__merge_in()
|
A D | bpf.c | 200 ret = TEST_OK; in do_test() 230 if (ret != TEST_OK || !obj_buf || !obj_buf_sz) { in __test__bpf() 256 if (ret != TEST_OK) in __test__bpf()
|
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()
|
A D | unit_number__scnprintf.c | 39 return TEST_OK; in test__unit_number__scnprint()
|
A D | is_printable_array.c | 37 return TEST_OK; in test__is_printable_array()
|
A D | perf-hooks.c | 46 return TEST_OK; in test__perf_hooks()
|
A D | demangle-java-test.c | 12 int ret = TEST_OK; in test__demangle_java()
|
A D | demangle-ocaml-test.c | 12 int ret = TEST_OK; in test__demangle_ocaml()
|
A D | dlfilter-test.c | 197 return TEST_OK; in write_sample() 372 if (write_sample(td, sample_type, id, pid, tid) != TEST_OK) in test__dlfilter_test() 382 return TEST_OK; in test__dlfilter_test()
|
A D | openat-syscall.c | 64 err = TEST_OK; in test__openat_syscall_event()
|
A D | pe-file-parsing.c | 68 return TEST_OK; in run_dir()
|
A D | sdt.c | 24 return TEST_OK; in target_function()
|
A D | bp_signal_overflow.c | 139 return fails ? TEST_FAIL : TEST_OK; in test__bp_signal_overflow()
|
A D | event_groups.c | 122 ret = TEST_OK; in test__event_groups()
|
A D | openat-syscall-all-cpus.c | 93 err = TEST_OK; in test__openat_syscall_event_on_all_cpus()
|
/linux-6.3-rc2/tools/perf/arch/x86/tests/ |
A D | intel-pt-test.c | 206 return TEST_OK; in dump_packet() 258 return TEST_OK; in test_ctx_unchanged() 319 return TEST_OK; in test__intel_pt_pkt_decoder() 441 int ret = TEST_OK; in test__intel_pt_hybrid_compat()
|
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()
|
A D | intel-cqm.c | 116 err = TEST_OK; in test__intel_cqm_count_nmi_context()
|
/linux-6.3-rc2/tools/perf/arch/arm/tests/ |
A D | vectors-page.c | 22 return TEST_OK; in test__vectors_page()
|