/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | tests.h | 32 int (*func)(struct test *test, int subtest); 36 const char *(*get_desc)(int subtest); 37 const char *(*skip_reason)(int subtest); 38 } subtest; member 44 int test__vmlinux_matches_kallsyms(struct test *test, int subtest); 45 int test__openat_syscall_event(struct test *test, int subtest); 46 int test__openat_syscall_event_on_all_cpus(struct test *test, int subtest); 47 int test__basic_mmap(struct test *test, int subtest); 48 int test__PERF_RECORD(struct test *test, int subtest); 49 int test__perf_evsel__roundtrip_name_test(struct test *test, int subtest); [all...] |
H A D | builtin-test.c | 78 .subtest = { 141 .subtest = { 214 .subtest = { 227 .subtest = { 297 .subtest = { 322 .subtest = { 386 static int run_test(struct test *test, int subtest) in run_test() argument 418 err = test->func(test, subtest); in run_test() 442 static int test_and_print(struct test *t, bool force_skip, int subtest) in test_and_print() argument 448 err = run_test(t, subtest); in test_and_print() [all...] |
H A D | llvm.c | 136 int test__llvm(struct test *test __maybe_unused, int subtest) in test__llvm() argument 143 if ((subtest < 0) || (subtest >= __LLVM_TESTCASE_MAX)) in test__llvm() 147 subtest, false, &should_load_fail); in test__llvm() 153 bpf_source_table[subtest].desc); in test__llvm() 166 const char *test__llvm_subtest_get_desc(int subtest) in test__llvm_subtest_get_desc() argument 168 if ((subtest < 0) || (subtest >= __LLVM_TESTCASE_MAX)) in test__llvm_subtest_get_desc() 171 return bpf_source_table[subtest].desc; in test__llvm_subtest_get_desc()
|
H A D | pmu-events.c | 635 const char *test__pmu_events_subtest_get_desc(int subtest) in test__pmu_events_subtest_get_desc() argument 637 if (subtest < 0 || in test__pmu_events_subtest_get_desc() 638 subtest >= (int)ARRAY_SIZE(pmu_events_testcase_table)) in test__pmu_events_subtest_get_desc() 640 return pmu_events_testcase_table[subtest].desc; in test__pmu_events_subtest_get_desc() 643 const char *test__pmu_events_subtest_skip_reason(int subtest) in test__pmu_events_subtest_skip_reason() argument 645 if (subtest < 0 || in test__pmu_events_subtest_skip_reason() 646 subtest >= (int)ARRAY_SIZE(pmu_events_testcase_table)) in test__pmu_events_subtest_skip_reason() 648 if (pmu_events_testcase_table[subtest].func != test_parsing) in test__pmu_events_subtest_skip_reason() 658 int test__pmu_events(struct test *test __maybe_unused, int subtest) in test__pmu_events() argument 660 if (subtest < in test__pmu_events() [all...] |
H A D | cpumap.c | 78 int test__cpu_map_synthesize(struct test *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_synthesize() 112 int test__cpu_map_print(struct test *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_print() 124 int test__cpu_map_merge(struct test *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_merge()
|
H A D | stat.c | 50 int test__synthesize_stat_config(struct test *test __maybe_unused, int subtest __maybe_unused) in test__synthesize_stat_config() 80 int test__synthesize_stat(struct test *test __maybe_unused, int subtest __maybe_unused) in test__synthesize_stat() 106 int test__synthesize_stat_round(struct test *test __maybe_unused, int subtest __maybe_unused) in test__synthesize_stat_round()
|
H A D | thread-map.c | 22 int test__thread_map(struct test *test __maybe_unused, int subtest __maybe_unused) in test__thread_map() 89 int test__thread_map_synthesize(struct test *test __maybe_unused, int subtest __maybe_unused) in test__thread_map_synthesize() 108 int test__thread_map_remove(struct test *test __maybe_unused, int subtest __maybe_unused) in test__thread_map_remove()
|
H A D | pe-file-parsing.c | 72 int subtest __maybe_unused) in test__pe_file_parsing() 93 int subtest __maybe_unused) in test__pe_file_parsing()
|
/kernel/linux/linux-6.6/tools/perf/arch/x86/include/ |
H A D | arch-tests.h | 8 int test__rdpmc(struct test_suite *test, int subtest); 10 int test__insn_x86(struct test_suite *test, int subtest); 12 int test__intel_pt_pkt_decoder(struct test_suite *test, int subtest); 13 int test__intel_pt_hybrid_compat(struct test_suite *test, int subtest); 14 int test__bp_modify(struct test_suite *test, int subtest); 15 int test__x86_sample_parsing(struct test_suite *test, int subtest); 16 int test__amd_ibs_via_core_pmu(struct test_suite *test, int subtest); 17 int test__hybrid(struct test_suite *test, int subtest);
|
/kernel/linux/linux-5.10/lib/ |
H A D | test_string.c | 184 int test, subtest; in string_selftest_init() local 187 subtest = memset16_selftest(); in string_selftest_init() 188 if (subtest) in string_selftest_init() 192 subtest = memset32_selftest(); in string_selftest_init() 193 if (subtest) in string_selftest_init() 197 subtest = memset64_selftest(); in string_selftest_init() 198 if (subtest) in string_selftest_init() 202 subtest = strchr_selftest(); in string_selftest_init() 203 if (subtest) in string_selftest_init() 207 subtest in string_selftest_init() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | test_string.c | 216 int test, subtest; in string_selftest_init() local 219 subtest = memset16_selftest(); in string_selftest_init() 220 if (subtest) in string_selftest_init() 224 subtest = memset32_selftest(); in string_selftest_init() 225 if (subtest) in string_selftest_init() 229 subtest = memset64_selftest(); in string_selftest_init() 230 if (subtest) in string_selftest_init() 234 subtest = strchr_selftest(); in string_selftest_init() 235 if (subtest) in string_selftest_init() 239 subtest in string_selftest_init() [all...] |
/kernel/linux/linux-5.10/tools/perf/arch/x86/include/ |
H A D | arch-tests.h | 9 int test__rdpmc(struct test *test __maybe_unused, int subtest); 10 int test__perf_time_to_tsc(struct test *test __maybe_unused, int subtest); 11 int test__insn_x86(struct test *test __maybe_unused, int subtest); 12 int test__intel_pt_pkt_decoder(struct test *test, int subtest); 13 int test__bp_modify(struct test *test, int subtest);
|
/kernel/linux/linux-6.6/tools/testing/kunit/ |
H A D | kunit_json.py | 34 for subtest in test.subtests: 35 if subtest.subtests: 36 sub_group = _get_group_json(subtest, common_fields) 39 status = _status_map.get(subtest.status, "FAIL") 40 test_cases.append({"name": subtest.name, "status": status})
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | builtin-test.c | 162 static const char *skip_reason(const struct test_suite *t, int subtest) in skip_reason() argument 167 return t->test_cases[subtest >= 0 ? subtest : 0].skip_reason; in skip_reason() 170 static const char *test_description(const struct test_suite *t, int subtest) in test_description() argument 172 if (t->test_cases && subtest >= 0) in test_description() 173 return t->test_cases[subtest].desc; in test_description() 178 static test_fnptr test_function(const struct test_suite *t, int subtest) in test_function() argument 180 if (subtest <= 0) in test_function() 183 return t->test_cases[subtest].run_case; in test_function() 210 static int run_test(struct test_suite *test, int subtest) in run_test() argument 266 test_and_print(struct test_suite *t, int subtest) test_and_print() argument [all...] |
H A D | wp.c | 72 int subtest __maybe_unused) in test__wp_ro() 96 int subtest __maybe_unused) in test__wp_wo() 120 int subtest __maybe_unused) in test__wp_rw() 144 static int test__wp_modify(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__wp_modify() 167 test->test_cases[subtest].skip_reason = "missing kernel support"; in test__wp_modify()
|
H A D | pfm.c | 27 int subtest __maybe_unused) in test__pfm_events() 88 int subtest __maybe_unused) in test__pfm_group() 173 int subtest __maybe_unused) in test__pfm_events() 179 int subtest __maybe_unused) in test__pfm_group()
|
H A D | stat.c | 51 int subtest __maybe_unused) in test__synthesize_stat_config() 81 static int test__synthesize_stat(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__synthesize_stat() 108 static int test__synthesize_stat_round(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__synthesize_stat_round()
|
H A D | thread-map.c | 23 static int test__thread_map(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__thread_map() 90 static int test__thread_map_synthesize(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__thread_map_synthesize() 110 static int test__thread_map_remove(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__thread_map_remove()
|
H A D | cpumap.c | 103 static int test__cpu_map_synthesize(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_synthesize() 147 static int test__cpu_map_print(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_print() 159 static int test__cpu_map_merge(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_merge() 191 int subtest __maybe_unused) in test__cpu_map_intersect() 214 static int test__cpu_map_equal(struct test_suite *test __maybe_unused, int subtest __maybe_unused) in test__cpu_map_equal()
|
H A D | pe-file-parsing.c | 73 int subtest __maybe_unused) in test__pe_file_parsing() 94 int subtest __maybe_unused) in test__pe_file_parsing()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | connect_ping.c | 20 static void subtest(int cgroup_fd, struct connect_ping *skel, in subtest() function 147 subtest(cgroup_fd, skel, AF_INET, 0); in test_connect_ping() 154 subtest(cgroup_fd, skel, AF_INET, 1); in test_connect_ping() 161 subtest(cgroup_fd, skel, AF_INET6, 0); in test_connect_ping() 168 subtest(cgroup_fd, skel, AF_INET6, 1); in test_connect_ping()
|
/kernel/linux/linux-5.10/drivers/dma-buf/ |
H A D | selftest.h | 16 struct subtest { struct 22 const struct subtest *st,
|
/kernel/linux/linux-6.6/drivers/dma-buf/ |
H A D | selftest.h | 16 struct subtest { struct 22 const struct subtest *st,
|
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sch_red_core.sh | 578 local subtest=$1; shift 591 qevent_rule_install_$subtest 605 check_err_fail "$should_fail" $? "ECN-marked packets $subtest'd" 608 qevent_rule_uninstall_$subtest 614 log_test "TC $((vlan - 10)): marked packets not $subtest'd" 616 log_test "TC $((vlan - 10)): marked packets $subtest'd" 628 local subtest=$1; shift 640 qevent_rule_install_$subtest 664 qevent_rule_uninstall_$subtest 669 log_test "TC $((vlan - 10)): ${trigger}ped packets $subtest' [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_lib.sh | 196 local subtest 206 for subtest in "${MPTCP_LIB_SUBTESTS[@]}"; do 207 printf "%s\n" "${subtest}"
|